Add note about assignment to __debug__ being an error.

This commit is contained in:
Jeremy Hylton 2001-11-09 21:06:24 +00:00
parent 107b7daf5a
commit 249aaeda0a

View File

@ -27,6 +27,10 @@ Type/class unification and new-style classes
Core and builtins
- Assignment to __debug__ raises SyntaxError at compile-time. This
was promised when 2.1c1 was released as "What's New in Python 2.1c1"
(below) says.
- Clarified the error messages for unsupported operands to an operator
(like 1 + '').