We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
They should check that idx <= self.get_num_tag_attrs() and return None if idx is out of bounds, otherwise proceed as they do now and return Some.
idx <= self.get_num_tag_attrs()
None
idx
Some
This is one less foot gun for callers using this method.
I can mentor whoever would like to work on this.
The text was updated successfully, but these errors were encountered:
Please make a comment here if you intend to work on this issue. Thank you!
Sorry, something went wrong.
Auto merge of #158 - ajnirp:143-comment-get-tag-attr, r=emilio
9db4d1f
143 comment get tag attr Fixes #143
ebfa083
No branches or pull requests
They should check that
idx <= self.get_num_tag_attrs()
and returnNone
ifidx
is out of bounds, otherwise proceed as they do now and returnSome
.This is one less foot gun for callers using this method.
I can mentor whoever would like to work on this.
The text was updated successfully, but these errors were encountered: