diff options
author | Guido van Rossum <guido@python.org> | 2006-04-22 23:28:04 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-04-22 23:28:04 (GMT) |
commit | 4dfe8a1131b551687659b9339eaee163a24f82f1 (patch) | |
tree | 79c967b9e355c0b0a070217a959abcd566aa6989 /Objects/object.c | |
parent | d603f645d99102627c7776ebeb2c3d52eb1d3b4a (diff) | |
download | cpython-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 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Objects/object.c b/Objects/object.c index a75c14e..9a451d2 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -1881,6 +1881,9 @@ _Py_ReadyTypes(void) if (PyType_Ready(&PyBool_Type) < 0) Py_FatalError("Can't initialize 'bool'"); + if (PyType_Ready(&PyBytes_Type) < 0) + Py_FatalError("Can't initialize 'bytes'"); + if (PyType_Ready(&PyString_Type) < 0) Py_FatalError("Can't initialize 'str'"); |