summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/plistlib.py2
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)