commit | 288e89acfc29cf857a8c5d314ba2dd3398a2eae9 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Fri Jan 18 18:24:07 2008 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Fri Jan 18 18:24:07 2008 +0000 |
tree | e4ca8e317d378207d274157a0dc138e2917cbc1b | |
parent | a9e073d100c3869231ce7275ff7a810d8db74fc4 [diff] [blame] |
Added bytes and b'' as aliases for str and ''
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 3ebd29d..9a31356 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c
@@ -2446,6 +2446,7 @@ SETBUILTIN("True", Py_True); SETBUILTIN("basestring", &PyBaseString_Type); SETBUILTIN("bool", &PyBool_Type); + SETBUILTIN("bytes", &PyString_Type); SETBUILTIN("buffer", &PyBuffer_Type); SETBUILTIN("classmethod", &PyClassMethod_Type); #ifndef WITHOUT_COMPLEX