From 65da8a08acaf3cabbb96b1c21f5e19f2efd032e9 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 23 Sep 2018 19:20:58 -0700 Subject: [PATCH] Remove plistlib workaround for unsupported Pythons --- sphinx/builders/applehelp.py | 9 +-------- tests/test_build_applehelp.py | 8 +------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/sphinx/builders/applehelp.py b/sphinx/builders/applehelp.py index 56e9bd6c0..b29ce3d95 100644 --- a/sphinx/builders/applehelp.py +++ b/sphinx/builders/applehelp.py @@ -35,13 +35,6 @@ if False: logger = logging.getLogger(__name__) -# Use plistlib.dump in 3.4 and above -try: - write_plist = plistlib.dump # type: ignore -except AttributeError: - write_plist = plistlib.writePlist - - # False access page (used because helpd expects strict XHTML) access_page_template = '''\