We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0681b6d commit d2f7aeaCopy full SHA for d2f7aea
Doc/library/functions.rst
@@ -1356,7 +1356,7 @@ are always available. They are listed here in alphabetical order.
1356
integer file descriptor of the file to be wrapped. (If a file descriptor is
1357
given, it is closed when the returned I/O object is closed unless *closefd*
1358
is set to ``False``.) The value passed as *file* is stored in the
1359
- :attr:`~io.IOBase.name` attribute of the returned file object.
+ :attr:`~io.FileIO.name` attribute of the returned file object.
1360
1361
*mode* is an optional string that specifies the mode in which the file is
1362
opened. It defaults to ``'r'`` which means open for reading in text mode.
0 commit comments