Changeset 388 for python/vendor/current/Lib/fileinput.py
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/Lib/fileinput.py
r2 r388 91 91 def input(files=None, inplace=0, backup="", bufsize=0, 92 92 mode="r", openhook=None): 93 """input([files[, inplace[, backup[, mode[, openhook]]]]]) 94 95 Create an instance of the FileInput class. The instance will be used 96 as global state for the functions of this module, and is also returned 97 to use during iteration. The parameters to this function will be passed 98 along to the constructor of the FileInput class. 93 """Return an instance of the FileInput class, which can be iterated. 94 95 The parameters are passed to the constructor of the FileInput class. 96 The returned instance, in addition to being an iterator, 97 keeps global state for the functions of this module,. 99 98 """ 100 99 global _state … … 183 182 184 183 class FileInput: 185 """ class FileInput([files[, inplace[, backup[, mode[, openhook]]]]])184 """FileInput([files[, inplace[, backup[, bufsize[, mode[, openhook]]]]]]) 186 185 187 186 Class FileInput is the implementation of the module; its methods
Note:
See TracChangeset
for help on using the changeset viewer.