| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
ReferenceType, ProxyType and CallableProxyType are classes (the type objects for weak references and proxies), but were documented with the ".. data::" directive, so ":class:" cross-references to them cannot resolve against a py:class target. Switch these three entries to ".. class::". ProxyTypes is left as ".. data::" since it is a sequence of the proxy type objects, not a type itself.
Documentation build overview1 file changed ± library/weakref.html |
Sorry, something went wrong.
|
Backward-compatibility check. Downstream nitpick_ignore lists reference these as py:class far more than py:data (ReferenceType 264:15, ProxyType 8:0), and no independent :data: doc references were found. Strong fix, negligible breakage. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM. 👍
Sorry, something went wrong.
|
Thanks @gaborbernat for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, something went wrong.
|
Thanks @gaborbernat for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry, something went wrong.
|
Thanks @gaborbernat for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
Sorry, something went wrong.
|
GH-150758 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
|
GH-150759 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
|
GH-150760 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
…GH-150758) Use the "class" directive instead of "data" for ReferenceType, ProxyType and CallableProxyType. (cherry picked from commit 10c4219) Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
…GH-150759) Use the "class" directive instead of "data" for ReferenceType, ProxyType and CallableProxyType. (cherry picked from commit 10c4219) Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
…GH-150760) Use the "class" directive instead of "data" for ReferenceType, ProxyType and CallableProxyType. (cherry picked from commit 10c4219) Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
| Back | FazBrowse Home | New Git URL |
weakref.ReferenceType, weakref.ProxyType, and weakref.CallableProxyType are classes (the type objects for weak references and proxies), but the documentation marks them with the .. data:: directive, so :class: cross-references to them cannot resolve against a py:class target.
Switch these three entries to .. class::. weakref.ProxyTypes is left as .. data:: since it is a sequence of the proxy type objects, not a type itself.
Refs: gh-89554. Documentation-only change, so no Misc/NEWS entry (skip news).