From 0433f8e94c72ad7f1be0d10bd72c526a34a5da85 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sat, 25 Aug 2018 10:14:48 -0400 Subject: Fix markup in stdtypes documentation (GH-8905) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 2e5d2ea2089e111fb8e5b8c5916242da2906c399) Co-authored-by: Andrés Delfino --- Doc/library/stdtypes.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 0a86031..0172d34 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 | | -- cgit v0.12