Quantcast
Channel: User David Z - Stack Overflow
Viewing all articles
Browse latest Browse all 49

Comment by David Z on Sphinx: "WARNING: py:class reference target not found" for class variable

$
0
0
I don't think this is the way to go. a = bar.A and a = bar.A() are both perfectly valid Python statements to include at that point in the code, with different meanings, and you shouldn't have to change from one to the other just to get the documentation to work because it will affect the functionality of your program. (It is certainly possible that it's a typo, but that's a separate matter from the question being asked.)

Viewing all articles
Browse latest Browse all 49

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>