Skip to content

Same AttributeError message in some getter function #62

Closed Answered by georgebv
shenxiangzhuang asked this question in Q&A
Discussion options

You must be logged in to vote

The idea is that those attributes should not exist until user calls get_extremes. I had a choice between returning None and throwing an exception. Message is indeed the same - could be refactored to use global variable.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shenxiangzhuang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants