@@ -629,28 +629,25 @@ \section{The standard type hierarchy\label{types}}
629629 \ttindex {__class__}}
630630
631631\item [Files]
632- A file object represents an open file. File objects are created by the
633- \function {open()} built-in function, and also by
634- \function {os.popen()}, \function {os.fdopen()}, and the
635- \method {makefile()} method of socket objects (and perhaps by other
636- functions or methods provided by extension modules). The objects
637- \code {sys.stdin}, \code {sys.stdout} and \code {sys.stderr} are
638- initialized to file objects corresponding to the interpreter's
639- standard input, output and error streams. See the \emph {Python
640- Library Reference } for complete documentation of file objects.
641- \obindex {file}
642- \indexii {C}{language}
643- \index {stdio}
644- \bifuncindex {open}
645- \withsubitem {(in module os)}{\ttindex {popen()}}
646- \withsubitem {(socket method)}{\ttindex {makefile()}}
632+ A file\obindex {file} object represents an open file. File objects are
633+ created by the \function {open()}\bifuncindex {open} built-in function,
634+ and also by
635+ \withsubitem {(in module os)}{\ttindex {popen()}}\function {os.popen()},
636+ \function {os.fdopen()}, and the
637+ \method {makefile()}\withsubitem {(socket method)}{\ttindex {makefile()}}
638+ method of socket objects (and perhaps by other functions or methods
639+ provided by extension modules). The objects
640+ \ttindex {sys.stdin}\code {sys.stdin},
641+ \ttindex {sys.stdout}\code {sys.stdout} and
642+ \ttindex {sys.stderr}\code {sys.stderr} are initialized to file objects
643+ corresponding to the interpreter's standard\index {stdio} input, output
644+ and error streams. See the \citetitle [../lib/lib.html]{Python Library
645+ Reference } for complete documentation of file objects.
647646\withsubitem {(in module sys)}{
648647 \ttindex {stdin}
649648 \ttindex {stdout}
650649 \ttindex {stderr}}
651- \ttindex {sys.stdin}
652- \ttindex {sys.stdout}
653- \ttindex {sys.stderr}
650+
654651
655652\item [Internal types]
656653A few types used internally by the interpreter are exposed to the user.
0 commit comments