Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 22920:2392af05f052 legacy-trunk
Update docs for bool changes by Guido around April 6
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Tue, 09 Apr 2002 18:15:00 +0000 |
| parents | aa8d59823add |
| children | 196dfa7ed348 |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Tue Apr 09 18:12:58 2002 +0000 +++ b/Doc/lib/libstdtypes.tex Tue Apr 09 18:15:00 2002 +0000 @@ -1072,8 +1072,8 @@ \end{methoddesc} \begin{methoddesc}[file]{isatty}{} - Return true if the file is connected to a tty(-like) device, else - false. \note{If a file-like object is not associated + Return \code{True} if the file is connected to a tty(-like) device, else + \code{False}. \note{If a file-like object is not associated with a real file, this method should \emph{not} be implemented.} \end{methoddesc} @@ -1193,7 +1193,7 @@ implemented if they make sense for the particular object. \begin{memberdesc}[file]{closed} -Boolean indicating the current state of the file object. This is a +bool indicating the current state of the file object. This is a read-only attribute; the \method{close()} method changes the value. It may not be available on all file-like objects. \end{memberdesc}
