summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-04-22 23:28:04 (GMT)
committerGuido van Rossum <guido@python.org>2006-04-22 23:28:04 (GMT)
commit4dfe8a1131b551687659b9339eaee163a24f82f1 (patch)
tree79c967b9e355c0b0a070217a959abcd566aa6989 /Python
parentd603f645d99102627c7776ebeb2c3d52eb1d3b4a (diff)
downloadcpython-4dfe8a1131b551687659b9339eaee163a24f82f1.zip
cpython-4dfe8a1131b551687659b9339eaee163a24f82f1.tar.gz
cpython-4dfe8a1131b551687659b9339eaee163a24f82f1.tar.bz2
Here is a bytes type. It's very minimal but it's a start.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c1
1 files changed, 1 insertions, 0 deletions
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 @@ _PyBuiltin_Init(void)
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);