[Python-checkins] r64010 - peps/trunk/pep-3119.txt
georg.brandl
python-checkins at python.org
Sat Jun 7 14:55:52 CEST 2008
Author: georg.brandl
Date: Sat Jun 7 14:55:52 2008
New Revision: 64010
Log:
bytes aren't mutable anymore.
Modified:
peps/trunk/pep-3119.txt
Modified: peps/trunk/pep-3119.txt
==============================================================================
--- peps/trunk/pep-3119.txt (original)
+++ peps/trunk/pep-3119.txt Sat Jun 7 14:55:52 2008
@@ -182,7 +182,7 @@
isinstance((), Sequence)
not issubclass(tuple, MutableSequence)
isinstance("", Sequence)
- issubclass(bytes, MutableSequence)
+ issubclass(bytearray, MutableSequence)
The primary mechanism proposed here is to allow overloading the
built-in functions ``isinstance()`` and ``issubclass()``. The
More information about the Python-checkins
mailing list