summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-08-19 13:53:41 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-08-19 13:53:41 (GMT)
commitdf6f8bf47b9801c9808a595f8133be3cf6949eb6 (patch)
tree419f6a85d9584ae828138b12cf53641f2734ccde /Doc
parent95801bbe4e96aeb706c8fcf9fb3698c39a72b847 (diff)
parentde1156186260fe74a1c803f3adbc680e271b7f0a (diff)
downloadcpython-df6f8bf47b9801c9808a595f8133be3cf6949eb6.zip
cpython-df6f8bf47b9801c9808a595f8133be3cf6949eb6.tar.gz
cpython-df6f8bf47b9801c9808a595f8133be3cf6949eb6.tar.bz2
Merge 3.5
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.path.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 041277c..a3fe73c 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -92,11 +92,11 @@ the :mod:`glob` module.)
::
- >>> os.path.commonprefix(['/dir1/dir2', '/dir3/dir4'])
- '/dir'
+ >>> os.path.commonprefix(['/usr/lib', '/usr/local/lib'])
+ '/usr/l'
- >>> os.path.commonpath(['/dir1/dir2', '/dir3/dir4'])
- '/'
+ >>> os.path.commonpath(['/usr/lib', '/usr/local/lib'])
+ '/usr'
.. function:: dirname(path)