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
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,10 @@ Type/class unification and new-style classes
Core and builtins 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 - Clarified the error messages for unsupported operands to an operator
(like 1 + ''). (like 1 + '').