New issue
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
Fixed #26479 -- Added 'is not' operator to the if tag #6436
Conversation
@@ -515,15 +516,6 @@ of how ``x in y`` will be interpreted:: | |||
|
|||
Not contained within. This is the negation of the ``in`` operator. | |||
|
|||
The comparison operators cannot be 'chained' like in Python or in mathematical |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved this to the bottom of the comparison operators section, because it seemed odd to have it between not in
and is
. Do you think we should put it in a Note box to make it more visible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I'd use an admonition box with the title "Comparison operators cannot be chained" (separate commit for that move)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually it probably makes sense to put it as a paragraph after "if` tags may also use..." before the list of all the operators. In that case, an admonition box probably isn't needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've moved it above the list of operators as suggested, and made the change as a separate commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another option would be to move it to the end of the complex expressions section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
56e43d8
to
09c8178
Compare
1bc5cbc
to
a3f55d8
Compare
a3f55d8
to
2a781df
Compare
No description provided.