Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upInstance variable docstrings are lost if the variable is redefined #28
Comments
BurntSushi
added
the
bug
label
Feb 21, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mikecharles commentedFeb 13, 2015
It appears that when an instance variable is redefined below its original definition (which includes the docstring), then the docstring gets lost.
For example:
produces:
while this:
produces:
Shouldn't the docstring be locked down once it's found (unless another attached docstring is found)?