summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrés Delfino <adelfino@gmail.com>2018-08-25 14:08:20 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2018-08-25 14:08:20 (GMT)
commit2e5d2ea2089e111fb8e5b8c5916242da2906c399 (patch)
tree7d3fc763607766ccb1a56a63076ce822188ed3e8 /Doc
parent90555eca44a19c743d39b7fd2e05f7bc37fb5cb8 (diff)
downloadcpython-2e5d2ea2089e111fb8e5b8c5916242da2906c399.zip
cpython-2e5d2ea2089e111fb8e5b8c5916242da2906c399.tar.gz
cpython-2e5d2ea2089e111fb8e5b8c5916242da2906c399.tar.bz2
Fix markup in stdtypes documentation (GH-8905)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index db233df..87c6421 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -409,13 +409,13 @@ This table lists the bitwise operations sorted in ascending priority:
+------------+--------------------------------+----------+
| Operation | Result | Notes |
+============+================================+==========+
-| ``x | y`` | bitwise :dfn:`or` of *x* and | (4) |
+| ``x | y`` | bitwise :dfn:`or` of *x* and | \(4) |
| | *y* | |
+------------+--------------------------------+----------+
-| ``x ^ y`` | bitwise :dfn:`exclusive or` of | (4) |
+| ``x ^ y`` | bitwise :dfn:`exclusive or` of | \(4) |
| | *x* and *y* | |
+------------+--------------------------------+----------+
-| ``x & y`` | bitwise :dfn:`and` of *x* and | (4) |
+| ``x & y`` | bitwise :dfn:`and` of *x* and | \(4) |
| | *y* | |
+------------+--------------------------------+----------+
| ``x << n`` | *x* shifted left by *n* bits | (1)(2) |
@@ -1065,10 +1065,10 @@ accepts integers that meet the value restriction ``0 <= x <= 255``).
| | sequence (same as | |
| | ``s[len(s):len(s)] = [x]``) | |
+------------------------------+--------------------------------+---------------------+
-| ``s.clear()`` | removes all items from ``s`` | \(5) |
+| ``s.clear()`` | removes all items from *s* | \(5) |
| | (same as ``del s[:]``) | |
+------------------------------+--------------------------------+---------------------+
-| ``s.copy()`` | creates a shallow copy of ``s``| \(5) |
+| ``s.copy()`` | creates a shallow copy of *s* | \(5) |
| | (same as ``s[:]``) | |
+------------------------------+--------------------------------+---------------------+
| ``s.extend(t)`` or | extends *s* with the | |