[Python-checkins] Fix markup in stdtypes documentation (GH-8905)
Miss Islington (bot)
webhook-mailer at python.org
Sat Aug 25 10:22:03 EDT 2018
https://github.com/python/cpython/commit/6dc8f0543749a6cedb548ae3df76547edfd9a6b9
commit: 6dc8f0543749a6cedb548ae3df76547edfd9a6b9
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-08-25T10:22:00-04:00
summary:
Fix markup in stdtypes documentation (GH-8905)
(cherry picked from commit 2e5d2ea2089e111fb8e5b8c5916242da2906c399)
Co-authored-by: Andrés Delfino <adelfino at gmail.com>
files:
M Doc/library/stdtypes.rst
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 6f4697275087..e71ce75b8329 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 | |
More information about the Python-checkins
mailing list