diff Python/bltinmodule.c @ 44747:8da9ebf73026 legacy-trunk

Added bytes and b'' as aliases for str and ''
author Christian Heimes <christian@cheimes.de>
date Fri, 18 Jan 2008 18:24:07 +0000
parents 9caf8a7b11a6
children 4c8308ac20cd
line wrap: on
line diff
--- a/Python/bltinmodule.c	Fri Jan 18 16:42:57 2008 +0000
+++ b/Python/bltinmodule.c	Fri Jan 18 18:24:07 2008 +0000
@@ -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