Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 37927:a7f3765ea464
Here is a bytes type. It's very minimal but it's a start.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sat, 22 Apr 2006 23:28:04 +0000 |
| parents | f731859e9b3b |
| children | 29ae5e0fc348 |
line wrap: on
line diff
--- a/Python/bltinmodule.c Sat Apr 22 17:37:27 2006 +0000 +++ b/Python/bltinmodule.c Sat Apr 22 23:28:04 2006 +0000 @@ -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);
