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
I think the index should just default to -1, so this should work as expected:
-1
@param(help="the first value") @param(help="the second value") def GET(self, one, two): pass
This could work with a little change when index is negative, a negative index would just trigger the insert to insert at len(args) + 1 + index.
len(args) + 1 + index
l = [] l.insert(len(l) + 1 + -1, "one") l.insert(len(l) + 1 + -1, "two") print(l) # ["one", "two"]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think the index should just default to
-1
, so this should work as expected:This could work with a little change when index is negative, a negative index would just trigger the insert to insert at
len(args) + 1 + index
.The text was updated successfully, but these errors were encountered: