summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-11-21 19:29:53 (GMT)
committerGuido van Rossum <guido@python.org>2007-11-21 19:29:53 (GMT)
commit254348e201647ad9d264de2cc0fde031e8214719 (patch)
treef5e6c42989ce114d4a9385404a6b23b2b1ff12af /Python
parent905a904723abadc627be60bf944e2ca76329b06e (diff)
downloadcpython-254348e201647ad9d264de2cc0fde031e8214719.zip
cpython-254348e201647ad9d264de2cc0fde031e8214719.tar.gz
cpython-254348e201647ad9d264de2cc0fde031e8214719.tar.bz2
Rename buffer -> bytearray.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 1b1593e..4ce774b 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1879,7 +1879,7 @@ _PyBuiltin_Init(void)
SETBUILTIN("True", Py_True);
SETBUILTIN("bool", &PyBool_Type);
SETBUILTIN("memoryview", &PyMemoryView_Type);
- SETBUILTIN("buffer", &PyBytes_Type);
+ SETBUILTIN("bytearray", &PyBytes_Type);
SETBUILTIN("bytes", &PyString_Type);
SETBUILTIN("classmethod", &PyClassMethod_Type);
#ifndef WITHOUT_COMPLEX