mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Added news of function comparison and hashing by identity
This commit is contained in:
parent
3229b859fb
commit
6af0ce0501
1 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ Core language, builtins, and interpreter
|
|||
'\texample \r\n\x00\xff' # in 2.1
|
||||
'\011example \015\012\000\377' # in 2.0
|
||||
|
||||
- Functions are now compared and hashed by identity, not by value, since
|
||||
the func_code attribute is writable.
|
||||
|
||||
|
||||
Standard library
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue