]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added BufferType, the type returned by the new builtin buffer(). Greg Stein.
authorGuido van Rossum <guido@python.org>
Fri, 19 Mar 1999 19:08:03 +0000 (19:08 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 19 Mar 1999 19:08:03 +0000 (19:08 +0000)
Lib/types.py

index 70e624a09169847b9c8045a24fedc31cf9ea8866..d5f925553615525390a1e3752a6b98e12f727eea 100644 (file)
@@ -15,6 +15,7 @@ except NameError:
     pass
 
 StringType = type('')
+BufferType = type(buffer(''))
 
 TupleType = type(())
 ListType = type([])