diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2021-07-04 04:08:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-04 04:08:42 (GMT) |
commit | 9bf7c2d638a582af2444bc864feba13ab8957b68 (patch) | |
tree | a273f9feb6019ad8ce8675fe7142dd1e74d14538 /Lib/plistlib.py | |
parent | 000b9e803a7ec067da0a43f9a3fec16f1078215a (diff) | |
download | cpython-9bf7c2d638a582af2444bc864feba13ab8957b68.zip cpython-9bf7c2d638a582af2444bc864feba13ab8957b68.tar.gz cpython-9bf7c2d638a582af2444bc864feba13ab8957b68.tar.bz2 |
[3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010)
* [Enum] revert enum module to 3.9
Diffstat (limited to 'Lib/plistlib.py')
-rw-r--r-- | Lib/plistlib.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/plistlib.py b/Lib/plistlib.py index 5772efd..2eeebe4 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: |