summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-10-06 02:03:48 (GMT)
committerLarry Hastings <larry@hastings.org>2014-10-06 02:03:48 (GMT)
commitc6256e5f7da7be4566e918114b3a162c613c6ab2 (patch)
tree9b617bf0634151d6eb7525b04997399b16616586 /Doc/library
parente796b9e477f50318edab506d3565c0122c2e2c60 (diff)
downloadcpython-c6256e5f7da7be4566e918114b3a162c613c6ab2.zip
cpython-c6256e5f7da7be4566e918114b3a162c613c6ab2.tar.gz
cpython-c6256e5f7da7be4566e918114b3a162c613c6ab2.tar.bz2
Update pydoc topics and fix supsicious markup for 3.4.2 final.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/stdtypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 2dd57bc..d81d276 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -1864,7 +1864,7 @@ expression support in the :mod:`re` module).
For example::
>>> 'ab c\n\nde fg\rkl\r\n'.splitlines()
- ['ab c', '', 'de fg', 'kl']``
+ ['ab c', '', 'de fg', 'kl']
>>> 'ab c\n\nde fg\rkl\r\n'.splitlines(keepends=True)
['ab c\n', '\n', 'de fg\r', 'kl\r\n']
@@ -2932,7 +2932,7 @@ place, and instead produce new objects.
For example::
>>> b'ab c\n\nde fg\rkl\r\n'.splitlines()
- [b'ab c', b'', b'de fg', b'kl']``
+ [b'ab c', b'', b'de fg', b'kl']
>>> b'ab c\n\nde fg\rkl\r\n'.splitlines(keepends=True)
[b'ab c\n', b'\n', b'de fg\r', b'kl\r\n']