File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ The ``ZoneInfo`` class
195195
196196The ``ZoneInfo `` class has two alternate constructors:
197197
198- .. classmethod :: ZoneInfo.from_file(fobj , /, key=None)
198+ .. classmethod :: ZoneInfo.from_file(file_obj , /, key=None)
199199
200200 Constructs a ``ZoneInfo `` object from a file-like object returning bytes
201201 (e.g. a file opened in binary mode or an :class: `io.BytesIO ` object).
@@ -325,7 +325,7 @@ The behavior of a ``ZoneInfo`` file depends on how it was constructed:
325325 >>> a is b
326326 False
327327
328- 3. ``ZoneInfo.from_file(fobj , /, key=None) ``: When constructed from a file, the
328+ 3. ``ZoneInfo.from_file(file_obj , /, key=None) ``: When constructed from a file, the
329329 ``ZoneInfo `` object raises an exception on pickling. If an end user wants to
330330 pickle a ``ZoneInfo `` constructed from a file, it is recommended that they
331331 use a wrapper type or a custom serialization function: either serializing by
You can’t perform that action at this time.
0 commit comments