@@ -159,8 +159,8 @@ precede any statement that will result in bytecodes being produced.
159159 PEP 207: Rich Comparisons
160160=========================
161161
162- In earlier versions, Python's support for implementing comparisons on user-
163- defined classes and extension types was quite simple. Classes could implement a
162+ In earlier versions, Python's support for implementing comparisons on user-defined
163+ classes and extension types was quite simple. Classes could implement a
164164:meth: `__cmp__ ` method that was given two instances of a class, and could only
165165return 0 if they were equal or +1 or -1 if they weren't; the method couldn't
166166raise an exception or return anything other than a Boolean value. Users of
@@ -465,11 +465,11 @@ Windows being the primary examples; on these systems, it's impossible to
465465distinguish the filenames ``FILE.PY `` and ``file.py ``, even though they do store
466466the file's name in its original case (they're case-preserving, too).
467467
468- In Python 2.1, the :keyword: `import ` statement will work to simulate case-
469- sensitivity on case-insensitive platforms. Python will now search for the first
468+ In Python 2.1, the :keyword: `import ` statement will work to simulate case-sensitivity
469+ on case-insensitive platforms. Python will now search for the first
470470case-sensitive match by default, raising an :exc: `ImportError ` if no such file
471- is found, so ``import file `` will not import a module named ``FILE.PY ``. Case-
472- insensitive matching can be requested by setting the :envvar: `PYTHONCASEOK `
471+ is found, so ``import file `` will not import a module named ``FILE.PY ``.
472+ Case- insensitive matching can be requested by setting the :envvar: `PYTHONCASEOK `
473473environment variable before starting the Python interpreter.
474474
475475.. ======================================================================
@@ -481,8 +481,8 @@ PEP 217: Interactive Display Hook
481481When using the Python interpreter interactively, the output of commands is
482482displayed using the built-in :func: `repr ` function. In Python 2.1, the variable
483483:func: `sys.displayhook ` can be set to a callable object which will be called
484- instead of :func: `repr `. For example, you can set it to a special pretty-
485- printing function::
484+ instead of :func: `repr `. For example, you can set it to a special
485+ pretty- printing function::
486486
487487 >>> # Create a recursive data structure
488488 ... L = [1,2,3]
0 commit comments