mirror of
https://github.com/python/cpython.git
synced 2026-04-25 05:11:28 +00:00
News item for the change to turn _codecs into a builtin module.
This commit is contained in:
parent
b28de0d79f
commit
20b91358e5
1 changed files with 4 additions and 0 deletions
|
|
@ -84,6 +84,10 @@ Type/class unification and new-style classes
|
|||
Core and builtins
|
||||
-----------------
|
||||
|
||||
- The _codecs support module for codecs.py was turned into a builtin
|
||||
module to assure that at least the builtin codecs are available
|
||||
to the Python parser for source code decoding according to PEP 263.
|
||||
|
||||
- issubclass now supports a tuple as the second argument, just like
|
||||
isinstance does. ``issubclass(X, (A, B))`` is equivalent to
|
||||
``issubclass(X, A) or issubclass(X, B)``.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue