File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments