Skip to content

Typo in the code? #1857

Answered by nejch
skylarl07 asked this question in Q&A
Jan 22, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @skylarl07, I don't think so. The code is saying "if no path is supplied as an argument to the method, use the class instance's own self._path. In the next if block, if the path is still None, then return None.

Either way, that line has been in the codebase for 5 years with plenty of testing and use in the wild, so should be fine, unless you had some specific concerns there. I hope that answers your question, but let us know otherwise!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@skylarl07
Comment options

Answer selected by nejch
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