[Python-checkins] r80977 - python/trunk/Doc/whatsnew/2.7.rst

andrew.kuchling python-checkins at python.org
Sat May 8 15:29:46 CEST 2010


Author: andrew.kuchling
Date: Sat May  8 15:29:46 2010
New Revision: 80977

Log:
Markup fixes

Modified:
   python/trunk/Doc/whatsnew/2.7.rst

Modified: python/trunk/Doc/whatsnew/2.7.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.7.rst	(original)
+++ python/trunk/Doc/whatsnew/2.7.rst	Sat May  8 15:29:46 2010
@@ -1346,7 +1346,7 @@
   will execute the code at a provided *path* argument.  *path* can be
   the path of a Python source file (:file:`example.py`), a compiled
   bytecode file (:file:`example.pyc`), a directory
-  (:file:`./package/'), or a zip archive (:file:`example.zip`).  If a
+  (:file:`./package/`), or a zip archive (:file:`example.zip`).  If a
   directory or zip path is provided, it will be added to the front of
   ``sys.path`` and the module :mod:`__main__` will be imported.  It's
   expected that the directory or zip contains a :file:`__main__.py`;
@@ -2132,7 +2132,7 @@
 Python 3.1 adds a new C datatype, :ctype:`PyCapsule`, for providing a
 C API to an extension module.  A capsule is essentially the holder for
 a C ``void *`` pointer, and is bound to a module attribute; for
-example, the :mod:`socket` module's API is exposed as ``socket.CAPI`,
+example, the :mod:`socket` module's API is exposed as ``socket.CAPI``,
 and :mod:`unicodedata` calls it ``ucnhash_CAPI``.  Other extensions
 can import the module, access its dictionary to get the capsule
 object, and then get the ``void *`` pointer, which will usually point


More information about the Python-checkins mailing list