@@ -706,7 +706,7 @@ A hexadecimal string takes the form::
706706
707707 [sign] ['0x'] integer ['.' fraction] ['p' exponent]
708708
709- where the optional ``sign `` may by either ``+ `` or ``- ``, ``integer ``
709+ where the optional ``sign `` may be either ``+ `` or ``- ``, ``integer ``
710710and ``fraction `` are strings of hexadecimal digits, and ``exponent ``
711711is a decimal integer with an optional leading sign. Case is not
712712significant, and there must be at least one hexadecimal digit in
@@ -1345,7 +1345,7 @@ Mutable sequence types also support the following methods:
13451345 :no-typesetting:
13461346.. method :: sequence.pop(index=-1, /)
13471347
1348- Retrieve the item at *index * and also removes it from *sequence *.
1348+ Retrieve the item at *index * and also remove it from *sequence *.
13491349 By default, the last item in *sequence * is removed and returned.
13501350
13511351.. method :: bytearray.remove(value, /)
@@ -2120,7 +2120,7 @@ expression support in the :mod:`re` module).
21202120 one character, ``False `` otherwise. Alphabetic characters are those characters defined
21212121 in the Unicode character database as "Letter", i.e., those with general category
21222122 property being one of "Lm", "Lt", "Lu", "Ll", or "Lo". Note that this is different
2123- from the `Alphabetic property defined in the section 4.10 'Letters, Alphabetic, and
2123+ from the `Alphabetic property defined in section 4.10 'Letters, Alphabetic, and
21242124 Ideographic' of the Unicode Standard
21252125 <https://www.unicode.org/versions/Unicode17.0.0/core-spec/chapter-4/#G91002> `__.
21262126 For example:
@@ -3042,7 +3042,7 @@ replacement field. For example::
30423042 '0.333333'
30433043 >>> f'{one_third:_^+10}'
30443044 '___+1/3___'
3045- >>> >>> f'{one_third!r:_^20}'
3045+ >>> f'{one_third!r:_^20}'
30463046 '___Fraction(1, 3)___'
30473047 >>> f'{one_third = :~>10}~'
30483048 'one_third = ~~~~~~~1/3~'
@@ -3052,12 +3052,12 @@ replacement field. For example::
30523052Template String Literals (t-strings)
30533053------------------------------------
30543054
3055- An :dfn: `t-string ` (formally a :dfn: `template string literal `) is
3055+ A :dfn: `t-string ` (formally a :dfn: `template string literal `) is
30563056a string literal that is prefixed with ``t `` or ``T ``.
30573057
30583058These strings follow the same syntax and evaluation rules as
30593059:ref: `formatted string literals <stdtypes-fstrings >`,
3060- with for the following differences:
3060+ with the following differences:
30613061
30623062* Rather than evaluating to a ``str `` object, template string literals evaluate
30633063 to a :class: `string.templatelib.Template ` object.
@@ -3084,7 +3084,7 @@ with for the following differences:
30843084 The :class: `!Interpolation ` instance for the expression will be created as
30853085 normal, except that :attr: `~string.templatelib.Interpolation.conversion ` will
30863086 be set to '``r ``' (:func: `repr `) by default.
3087- If an explicit conversion or format specifier are provided,
3087+ If an explicit conversion or format specifier is provided,
30883088 this will override the default behaviour.
30893089
30903090
@@ -3461,7 +3461,7 @@ objects.
34613461
34623462 .. classmethod :: fromhex(string, /)
34633463
3464- This :class: `bytearray ` class method returns bytearray object, decoding
3464+ This :class: `bytearray ` class method returns a bytearray object, decoding
34653465 the given string object. The string must contain two hexadecimal digits
34663466 per byte, with ASCII whitespace being ignored.
34673467
@@ -4420,7 +4420,7 @@ the ``%`` operator (modulo).
44204420This is also known as the bytes *formatting * or *interpolation * operator.
44214421Given ``format % values `` (where *format * is a bytes object), ``% `` conversion
44224422specifications in *format * are replaced with zero or more elements of *values *.
4423- The effect is similar to using the :c:func: `sprintf ` in the C language.
4423+ The effect is similar to using the :c:func: `sprintf ` function in the C language.
44244424
44254425If *format * requires a single argument, *values * may be a single non-tuple
44264426object. [5 ]_ Otherwise, *values * must be a tuple with exactly the number of
@@ -4621,7 +4621,7 @@ copying.
46214621 underlying data.
46224622
46234623 ``len(view) `` is equal to the length of :meth: `~memoryview.tolist `, which
4624- is the nested list representation of the view. If ``view.ndim = 1 ``,
4624+ is the nested list representation of the view. If ``view.ndim == 1 ``,
46254625 this is equal to the number of elements in the view.
46264626
46274627 .. versionchanged :: 3.12
@@ -4706,7 +4706,7 @@ copying.
47064706 :class: `collections.abc.Sequence `
47074707
47084708 .. versionchanged :: 3.5
4709- memoryviews can now be indexed with tuple of integers.
4709+ memoryviews can now be indexed with a tuple of integers.
47104710
47114711 .. versionchanged :: 3.14
47124712 memoryview is now a :term: `generic type `.
@@ -6152,7 +6152,7 @@ enables cleaner type hinting syntax compared to subscripting :class:`typing.Unio
61526152
61536153 .. note ::
61546154
6155- The ``| `` operand cannot be used at runtime to define unions where one or
6155+ The ``| `` operator cannot be used at runtime to define unions where one or
61566156 more members is a forward reference. For example, ``int | "Foo" ``, where
61576157 ``"Foo" `` is a reference to a class not yet defined, will fail at
61586158 runtime. For unions which include forward references, present the
@@ -6311,7 +6311,7 @@ Methods
63116311Methods are functions that are called using the attribute notation.
63126312There are two flavors: :ref: `built-in methods <builtin-methods >`
63136313(such as :meth: `~list.append ` on lists)
6314- and :ref: `class instance method <instance-methods >`.
6314+ and :ref: `class instance methods <instance-methods >`.
63156315Built-in methods are described with the types that support them.
63166316
63176317If you access a method (a function defined in a class namespace) through an
0 commit comments