diff options
Diffstat (limited to 'Doc/library')
| -rw-r--r-- | Doc/library/index.rst | 1 | ||||
| -rw-r--r-- | Doc/library/os.rst | 10 | ||||
| -rw-r--r-- | Doc/library/string.rst | 1 | ||||
| -rw-r--r-- | Doc/library/webbrowser.rst | 4 |
4 files changed, 10 insertions, 6 deletions
diff --git a/Doc/library/index.rst b/Doc/library/index.rst index 236b6e7..aa582de 100644 --- a/Doc/library/index.rst +++ b/Doc/library/index.rst @@ -38,6 +38,7 @@ the `Python Package Index <http://pypi.python.org/pypi>`_. .. toctree:: :maxdepth: 2 + :numbered: intro.rst functions.rst diff --git a/Doc/library/os.rst b/Doc/library/os.rst index ef5beaa..fc62b0b 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -796,9 +796,10 @@ Files and Directories function will not follow symbolic links. Availability: Unix. -.. function:: link(src, dst) +.. function:: link(source, link_name) - Create a hard link pointing to *src* named *dst*. Availability: Unix. + Create a hard link pointing to *source* named *link_name*. Availability: + Unix. .. function:: listdir(path) @@ -1078,9 +1079,10 @@ Files and Directories :attr:`f_flag`, :attr:`f_namemax`. Availability: Unix. -.. function:: symlink(src, dst) +.. function:: symlink(source, link_name) - Create a symbolic link pointing to *src* named *dst*. Availability: Unix. + Create a symbolic link pointing to *source* named *link_name*. Availability: + Unix. .. function:: unlink(path) diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 2e444ad..5867a5a 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst @@ -218,6 +218,7 @@ does an index lookup using :func:`__getitem__`. Some simple format string examples:: "First, thou shalt count to {0}" # References first positional argument + "Bring me a {}" # Implicitly references the first positional argument "My quest is {name}" # References keyword argument 'name' "Weight in tons {0.weight}" # 'weight' attribute of first positional arg "Units destroyed: {players[0]}" # First element of keyword argument 'players'. diff --git a/Doc/library/webbrowser.rst b/Doc/library/webbrowser.rst index ed56741..c42283f 100644 --- a/Doc/library/webbrowser.rst +++ b/Doc/library/webbrowser.rst @@ -167,8 +167,8 @@ Here are some simple examples:: Browser Controller Objects -------------------------- -Browser controllers provide these methods which parallel two of the module-level -convenience functions: +Browser controllers provide these methods which parallel three of the +module-level convenience functions: .. method:: controller.open(url[, new[, autoraise=1]]) |
