mirror of
https://github.com/python/cpython.git
synced 2024-11-30 05:15:14 +08:00
Add note about assignment to __debug__ being an error.
This commit is contained in:
parent
107b7daf5a
commit
249aaeda0a
@ -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 + '').
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user