mirror of
https://github.com/python/cpython.git
synced 2025-10-27 16:57:08 +00:00
Merged revisions 83160-83161,83166,83169,83171 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k ........ r83160 | georg.brandl | 2010-07-26 10:51:42 +0200 (Mo, 26 Jul 2010) | 1 line #9381: fix markup. ........ r83161 | georg.brandl | 2010-07-26 11:33:12 +0200 (Mo, 26 Jul 2010) | 1 line Add Brian Quinlan. ........ r83166 | georg.brandl | 2010-07-26 17:11:49 +0200 (Mo, 26 Jul 2010) | 1 line Fix grammar. ........ r83169 | georg.brandl | 2010-07-26 19:09:32 +0200 (Mo, 26 Jul 2010) | 1 line Add Reid. ........ r83171 | georg.brandl | 2010-07-26 23:12:13 +0200 (Mo, 26 Jul 2010) | 1 line Clarify. ........
This commit is contained in:
parent
80ff50a35d
commit
ec18c395ea
4 changed files with 41 additions and 5 deletions
|
|
@ -358,7 +358,7 @@ To encode and decode file names and other environment strings,
|
|||
:cdata:`Py_FileSystemEncoding` should be used as the encoding, and
|
||||
``"surrogateescape"`` should be used as the error handler (:pep:`383`). To
|
||||
encode file names during argument parsing, the ``"O&"`` converter should be
|
||||
used, passsing :func:PyUnicode_FSConverter as the conversion function:
|
||||
used, passsing :func:`PyUnicode_FSConverter` as the conversion function:
|
||||
|
||||
.. cfunction:: int PyUnicode_FSConverter(PyObject* obj, void* result)
|
||||
|
||||
|
|
|
|||
|
|
@ -200,8 +200,8 @@ The directives are:
|
|||
|
||||
.. describe:: cmdoption
|
||||
|
||||
Describes a command line option or switch. Option argument names should be
|
||||
enclosed in angle brackets. Example::
|
||||
Describes a Python command line option or switch. Option argument names
|
||||
should be enclosed in angle brackets. Example::
|
||||
|
||||
.. cmdoption:: -m <module>
|
||||
|
||||
|
|
|
|||
|
|
@ -314,8 +314,8 @@ The idea behind the "home scheme" is that you build and maintain a personal
|
|||
stash of Python modules. This scheme's name is derived from the idea of a
|
||||
"home" directory on Unix, since it's not unusual for a Unix user to make their
|
||||
home directory have a layout similar to :file:`/usr/` or :file:`/usr/local/`.
|
||||
This scheme can be used by anyone, regardless of the operating system their
|
||||
installing for.
|
||||
This scheme can be used by anyone, regardless of the operating system they
|
||||
are installing for.
|
||||
|
||||
Installing a new module distribution is as simple as ::
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue