inbuilt function buffer()

2005-01-18 Thread km
Hi all, I which context is the inbuilt function buffer() used ? regards, KM -- http://mail.python.org/mailman/listinfo/python-list

Re: inbuilt function buffer()

2005-01-18 Thread Aldo Cortesi
Thus spake km ([EMAIL PROTECTED]): I which context is the inbuilt function buffer() used ? It's an efficiency measure. Say you have a string x. Taking a slice of the string - x[a:a+10] - will implicitly create a new string containing the specified data. Doing the same using buffer - buffer(x