@@ -25,10 +25,10 @@ your topic of interest will usually find something helpful.
2525Where is the math.py (socket.py, regex.py, etc.) source file?
2626-------------------------------------------------------------
2727
28- If you can't find a source file for a module it may be a builtin or dynamically
29- loaded module implemented in C, C++ or other compiled language. In this case
30- you may not have the source file or it may be something like mathmodule.c,
31- somewhere in a C source directory (not on the Python Path).
28+ If you can't find a source file for a module it may be a built-in or
29+ dynamically loaded module implemented in C, C++ or other compiled language.
30+ In this case you may not have the source file or it may be something like
31+ mathmodule.c, somewhere in a C source directory (not on the Python Path).
3232
3333There are (at least) three kinds of modules in Python:
3434
@@ -361,7 +361,7 @@ therefore atomic from the point of view of a Python program.
361361
362362In theory, this means an exact accounting requires an exact understanding of the
363363PVM bytecode implementation. In practice, it means that operations on shared
364- variables of builtin data types (ints, lists, dicts, etc) that "look atomic"
364+ variables of built-in data types (ints, lists, dicts, etc) that "look atomic"
365365really are.
366366
367367For example, the following operations are all atomic (L, L1, L2 are lists, D,
@@ -504,9 +504,9 @@ I can't seem to use os.read() on a pipe created with os.popen(); why?
504504
505505:func: `os.read ` is a low-level function which takes a file descriptor, a small
506506integer representing the opened file. :func: `os.popen ` creates a high-level
507- file object, the same type returned by the builtin :func: `open ` function. Thus,
508- to read n bytes from a pipe p created with :func: `os.popen `, you need to use
509- ``p.read(n) ``.
507+ file object, the same type returned by the built-in :func: `open ` function.
508+ Thus, to read n bytes from a pipe p created with :func: `os.popen `, you need to
509+ use ``p.read(n) ``.
510510
511511
512512.. XXX update to use subprocess. See the :ref:`subprocess-replacements` section.
@@ -607,10 +607,11 @@ Python file objects are a high-level layer of abstraction on top of C streams,
607607which in turn are a medium-level layer of abstraction on top of (among other
608608things) low-level C file descriptors.
609609
610- For most file objects you create in Python via the builtin ``open `` constructor,
611- ``f.close() `` marks the Python file object as being closed from Python's point
612- of view, and also arranges to close the underlying C stream. This also happens
613- automatically in f's destructor, when f becomes garbage.
610+ For most file objects you create in Python via the built-in ``open ``
611+ constructor, ``f.close() `` marks the Python file object as being closed from
612+ Python's point of view, and also arranges to close the underlying C stream.
613+ This also happens automatically in ``f ``'s destructor, when ``f `` becomes
614+ garbage.
614615
615616But stdin, stdout and stderr are treated specially by Python, because of the
616617special status also given to them by C. Running ``sys.stdout.close() `` marks
0 commit comments