Here is a bytes type. It's very minimal but it's a start.

This commit is contained in:
Guido van Rossum 2006-04-22 23:28:04 +00:00
parent d603f645d9
commit 4dfe8a1131
7 changed files with 536 additions and 0 deletions

View file

@ -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);