commit | 4dfe8a1131b551687659b9339eaee163a24f82f1 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Apr 22 23:28:04 2006 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Apr 22 23:28:04 2006 +0000 |
tree | 79c967b9e355c0b0a070217a959abcd566aa6989 | |
parent | d603f645d99102627c7776ebeb2c3d52eb1d3b4a [diff] [blame] |
Here is a bytes type. It's very minimal but it's a start.
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 914e0d1..54e8fe8 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c
@@ -2139,6 +2139,7 @@ SETBUILTIN("basestring", &PyBaseString_Type); SETBUILTIN("bool", &PyBool_Type); SETBUILTIN("buffer", &PyBuffer_Type); + SETBUILTIN("bytes", &PyBytes_Type); SETBUILTIN("classmethod", &PyClassMethod_Type); #ifndef WITHOUT_COMPLEX SETBUILTIN("complex", &PyComplex_Type);