Skip to content

Commit 2cc30c1

Browse files
committed
fixup! Remove some entries from nitpick_ignore
1 parent 9f8b0bb commit 2cc30c1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Doc/library/dataclasses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ Module contents
439439
function is used.
440440

441441
This function is not strictly required, because any Python
442-
mechanism for creating a new class with :attr:`!__annotations__` can
442+
mechanism for creating a new class with :attr:`~object.__annotations__` can
443443
then apply the :func:`@dataclass <dataclass>` function to convert that class to
444444
a dataclass. This function is provided as a convenience. For
445445
example::

Doc/tutorial/controlflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ Function Annotations
10811081
information about the types used by user-defined functions (see :pep:`3107` and
10821082
:pep:`484` for more information).
10831083

1084-
:term:`Annotations <function annotation>` are stored in the :attr:`!__annotations__`
1084+
:term:`Annotations <function annotation>` are stored in the :attr:`~object.__annotations__`
10851085
attribute of the function as a dictionary and have no effect on any other part of the
10861086
function. Parameter annotations are defined by a colon after the parameter name, followed
10871087
by an expression evaluating to the value of the annotation. Return annotations are

Doc/whatsnew/3.2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ Some smaller changes made to the core Python language are:
458458
:class:`~collections.defaultdict`, :class:`~shelve.Shelf`,
459459
:class:`~configparser.ConfigParser`, or :mod:`dbm`. It is also useful with
460460
custom :class:`dict` subclasses that normalize keys before look-up or that
461-
supply a :meth:`__missing__` method for unknown keys::
461+
supply a :meth:`~object.__missing__` method for unknown keys::
462462

463463
>>> import shelve
464464
>>> d = shelve.open('tmp.shl')

0 commit comments

Comments
 (0)