Skip to content

Commit 46c381c

Browse files
committed
more
1 parent d30c35d commit 46c381c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Doc/library/functions.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2069,6 +2069,7 @@ are always available. They are listed here in alphabetical order.
20692069
>>> X = type('X', (), dict(a=1))
20702070

20712071
See also:
2072+
20722073
* :ref:`Documentation on attributes and methods on classes <class-attrs-and-methods>`.
20732074
* :ref:`bltin-type-objects`
20742075

Doc/reference/datamodel.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ Special attributes
10401040
For best practices on working with :attr:`~object.__annotations__`,
10411041
please see :mod:`annotationlib`.
10421042

1043-
.. warning::
1043+
.. caution::
10441044

10451045
Accessing the :attr:`!__annotations__` attribute of a class
10461046
object directly may yield incorrect results in the presence of
@@ -1056,7 +1056,7 @@ Special attributes
10561056
if the class has no annotations.
10571057
See also: :attr:`__annotate__ attributes <object.__annotate__>`.
10581058

1059-
.. warning::
1059+
.. caution::
10601060

10611061
Accessing the :attr:`!__annotate__` attribute of a class
10621062
object directly may yield incorrect results in the presence of

0 commit comments

Comments
 (0)