Closed boris-42 closed 3 years ago
Asserts shall not be a part of production code, they are stript if python is run with -o (optimization parameter)
Instead of assert use if and raise exceptions
Thank you!
Asserts shall not be a part of production code, they are stript if python is run with -o (optimization parameter)
Instead of assert use if and raise exceptions