Question #943

What is the purpose of the __invert__() method?

__invert__() is the implementation of the "binary not" operator ~. Reversing a function is not always possible! (stackoverflow.com/questions/54784932/the-invert-method)


Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: