mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
- use the same markup for the deprecation as for that of
file.xreadlines()
This commit is contained in:
parent
ae55d5f3cb
commit
6f51a72a61
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
\versionadded{2.1}
|
||||
|
||||
\deprecated{2.3}{Use \code{for line in file} instead.}
|
||||
\deprecated{2.3}{Use \samp{for \var{line} in \var{file}} instead.}
|
||||
|
||||
This module defines a new object type which can efficiently iterate
|
||||
over the lines of a file. An xreadlines object is a sequence type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue