diff options
author | Ned Deily <nad@acm.org> | 2013-11-22 04:56:23 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2013-11-22 04:56:23 (GMT) |
commit | c06d6fdc37a70c28feaac60b06047b9f6357c05f (patch) | |
tree | 2350a2c250a707fba37fe251aa0fea0f901ad04e /Lib/plistlib.py | |
parent | f6de9eb2bb3c3c16694d582e3e1e2e9f56b97aab (diff) | |
download | cpython-c06d6fdc37a70c28feaac60b06047b9f6357c05f.zip cpython-c06d6fdc37a70c28feaac60b06047b9f6357c05f.tar.gz cpython-c06d6fdc37a70c28feaac60b06047b9f6357c05f.tar.bz2 |
Issue #14455: Fix maybe_open typo in Plist.fromFile().
Diffstat (limited to 'Lib/plistlib.py')
-rw-r--r-- | Lib/plistlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plistlib.py b/Lib/plistlib.py index bdb8ab3..277ce62 100644 --- a/Lib/plistlib.py +++ b/Lib/plistlib.py @@ -137,7 +137,7 @@ class Plist(_InternalDict): @classmethod def fromFile(cls, pathOrFile): """Deprecated. Use the load() function instead.""" - with maybe_open(pathOrFile, 'rb') as fp: + with _maybe_open(pathOrFile, 'rb') as fp: value = load(fp) plist = cls() plist.update(value) |