summaryrefslogtreecommitdiffstats
path: root/Lib/plistlib.py
diff options
context:
space:
mode:
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>2022-01-17 15:18:13 (GMT)
committerGitHub <noreply@github.com>2022-01-17 15:18:13 (GMT)
commit83d544b9292870eb44f6fca37df0aa351c4ef83a (patch)
treeea79ba5ffd709ae98958ad245b92983cc51c29e5 /Lib/plistlib.py
parent16901c0482734dbd389b09ca3edfcf3e22faeed7 (diff)
downloadcpython-83d544b9292870eb44f6fca37df0aa351c4ef83a.zip
cpython-83d544b9292870eb44f6fca37df0aa351c4ef83a.tar.gz
cpython-83d544b9292870eb44f6fca37df0aa351c4ef83a.tar.bz2
bpo-40066: [Enum] skip failing doc test (GH-30637)
Diffstat (limited to 'Lib/plistlib.py')
-rw-r--r--Lib/plistlib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/plistlib.py b/Lib/plistlib.py
index 3ab71ed..4862355 100644
--- a/Lib/plistlib.py
+++ b/Lib/plistlib.py
@@ -61,7 +61,8 @@ import struct
from xml.parsers.expat import ParserCreate
-PlistFormat = enum.global_enum(enum.Enum('PlistFormat', 'FMT_XML FMT_BINARY', module=__name__))
+PlistFormat = enum.Enum('PlistFormat', 'FMT_XML FMT_BINARY', module=__name__)
+globals().update(PlistFormat.__members__)
class UID: