Vladimir

54%
Flag icon
Special methods implementing unary or infix operators should never change the value of the operands. Expressions with such operators are expected to produce results by creating new objects. Only augmented assignment operators may change the first operand (self),
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview