This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Eric Lebigot
Recipients Eric Lebigot, docs@python, lebigot, marco.buttu, terry.reedy
Date 2017-05-08.17:10:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494263415.58.0.724491788293.issue30217@psf.upfronthosting.co.za>
In-reply-to
Content
Good reference.

Another one would be https://docs.python.org/3/reference/expressions.html#unary-arithmetic-and-bitwise-operations, which explicitly indicates that it only makes sense for integer types (which is useful to keep in mind, as one may think that it could somehow apply to floating point numbers as well).

The one at https://docs.python.org/3.6/reference/datamodel.html#object.__invert__ is also important for learning that it is related to __invert__().
History
Date User Action Args
2017-05-08 17:10:15Eric Lebigotsetrecipients: + Eric Lebigot, terry.reedy, lebigot, docs@python, marco.buttu
2017-05-08 17:10:15Eric Lebigotsetmessageid: <1494263415.58.0.724491788293.issue30217@psf.upfronthosting.co.za>
2017-05-08 17:10:15Eric Lebigotlinkissue30217 messages
2017-05-08 17:10:15Eric Lebigotcreate