[issue7417] open builtin has no signature in docstring
flox
report at bugs.python.org
Wed Dec 2 16:35:30 CET 2009
flox <laxyf at yahoo.fr> added the comment:
Or I suggest something more verbose...
>>> print(open.__doc__)
open(filename) -> file object for reading in text mode
open(filename, mode=binary[, buffering]) -> file object in binary mode
open(filename[, mode=text][, buffering][,encoding][,errors][,newline])
-> file object in text mode
open(file_descriptor[, ...][, closefd]) -> file object
Open file and return a stream. Raise IOError upon failure.
filename is either a text or byte string giving the name (and the path
if the file isn't in the current working directory) of the file to
be opened.
file_descriptor is an integer file descriptor of the file to be
wrapped. The file descriptor is closed when the returned I/O object is
closed, unless closefd is set to False.)
mode is an optional string that specifies the mode in which the file
is opened...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7417>
_______________________________________
More information about the Python-bugs-list
mailing list