Message300726
| Author |
gvanrossum |
| Recipients |
Bernát Gábor, docs@python, gvanrossum, levkivskyi |
| Date |
2017年08月22日.22:27:47 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1503440867.52.0.968688407163.issue31024@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Thanks, I am a little closer to understanding now.
> once intersphinx looks at the Tuple during documentation generation it deduces it actually is of type class
How does intersphinx deduce this? Also, does it run when we generate the Python docs, or when you generate the docs for your project (that references the Python docs)? Finally, are there other objects in the typing for which this is a problem? (I guess I could answer this myself once I understand how intersphinx decides whether something is a class or data.)
I also think this is somewhat unfortunate, because it seems that whenever something is changed from "class" to "data" or vice versa, intersphinx will be confused, even though it's easy to give examples where such a change could be backwards compatible. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年08月22日 22:27:47 | gvanrossum | set | recipients:
+ gvanrossum, docs@python, levkivskyi, Bernát Gábor |
| 2017年08月22日 22:27:47 | gvanrossum | set | messageid: <1503440867.52.0.968688407163.issue31024@psf.upfronthosting.co.za> |
| 2017年08月22日 22:27:47 | gvanrossum | link | issue31024 messages |
| 2017年08月22日 22:27:47 | gvanrossum | create |
|