diff options
author | Guido van Rossum <guido@python.org> | 1999-03-19 19:08:03 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-03-19 19:08:03 (GMT) |
commit | 36561c5de421686ace502608ae75a816242ff5b3 (patch) | |
tree | 5bbee99653b9a0cc76c57346c962b9a77d39ff56 /Lib | |
parent | 0daf022225b3670f908e633be210b2ff0a172788 (diff) | |
download | cpython-36561c5de421686ace502608ae75a816242ff5b3.zip cpython-36561c5de421686ace502608ae75a816242ff5b3.tar.gz cpython-36561c5de421686ace502608ae75a816242ff5b3.tar.bz2 |
Added BufferType, the type returned by the new builtin buffer(). Greg Stein.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/types.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/types.py b/Lib/types.py index 70e624a..d5f9255 100644 --- a/Lib/types.py +++ b/Lib/types.py @@ -15,6 +15,7 @@ except NameError: pass StringType = type('') +BufferType = type(buffer('')) TupleType = type(()) ListType = type([]) |