Commit 2f1e7b9e authored by Georg Brandl's avatar Georg Brandl

Merged revisions 85253,85452-85454 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85253 | georg.brandl | 2010-10-06 10:52:48 +0200 (Mi, 06 Okt 2010) | 1 line

  Copyedit of os.symlink() docs.
........
  r85452 | georg.brandl | 2010-10-14 08:43:22 +0200 (Do, 14 Okt 2010) | 1 line

  #10046: small correction to atexit docs.
........
  r85453 | georg.brandl | 2010-10-14 08:46:08 +0200 (Do, 14 Okt 2010) | 1 line

  #6825: small correction to split() docs.
........
  r85454 | georg.brandl | 2010-10-14 08:48:47 +0200 (Do, 14 Okt 2010) | 1 line

  Mention 2to3.
........
parent 5f8aba77
...@@ -20,8 +20,8 @@ interpreter termination. ...@@ -20,8 +20,8 @@ interpreter termination.
<http://svn.python.org/view/python/branches/release27-maint/Lib/atexit.py?view=markup>`_ <http://svn.python.org/view/python/branches/release27-maint/Lib/atexit.py?view=markup>`_
Note: the functions registered via this module are not called when the program Note: the functions registered via this module are not called when the program
is killed by a signal, when a Python fatal internal error is detected, or when is killed by a signal not handled by Python, when a Python fatal internal error
:func:`os._exit` is called. is detected, or when :func:`os._exit` is called.
.. index:: single: exitfunc (in sys) .. index:: single: exitfunc (in sys)
......
...@@ -268,14 +268,14 @@ write files see :func:`open`, and for accessing the filesystem see the ...@@ -268,14 +268,14 @@ write files see :func:`open`, and for accessing the filesystem see the
.. function:: split(path) .. function:: split(path)
Split the pathname *path* into a pair, ``(head, tail)`` where *tail* is the last Split the pathname *path* into a pair, ``(head, tail)`` where *tail* is the
pathname component and *head* is everything leading up to that. The *tail* part last pathname component and *head* is everything leading up to that. The
will never contain a slash; if *path* ends in a slash, *tail* will be empty. If *tail* part will never contain a slash; if *path* ends in a slash, *tail*
there is no slash in *path*, *head* will be empty. If *path* is empty, both will be empty. If there is no slash in *path*, *head* will be empty. If
*head* and *tail* are empty. Trailing slashes are stripped from *head* unless *path* is empty, both *head* and *tail* are empty. Trailing slashes are
it is the root (one or more slashes only). In nearly all cases, ``join(head, stripped from *head* unless it is the root (one or more slashes only). In
tail)`` equals *path* (the only exception being when there were multiple slashes all cases, ``join(head, tail)`` returns a path to the same location as *path*
separating *head* from *tail*). (but the strings may differ).
.. function:: splitdrive(path) .. function:: splitdrive(path)
......
...@@ -30,9 +30,10 @@ i18n Tools for internationalization. pygettext.py ...@@ -30,9 +30,10 @@ i18n Tools for internationalization. pygettext.py
pynche A Tkinter-based color editor. pynche A Tkinter-based color editor.
scripts A number of useful single-file programs, e.g. tabnanny.py scripts A number of useful single-file programs, e.g. tabnanny.py
(by Tim Peters), which checks for inconsistent mixing by Tim Peters, which checks for inconsistent mixing of
of tabs and spaces. tabs and spaces, and 2to3, which converts Python 2 code
to Python 3 code.
unicode Tools used to generate unicode database files for unicode Tools used to generate unicode database files for
Python 2.0 (by Fredrik Lundh). Python 2.0 (by Fredrik Lundh).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment