On 5/19/2011 3:49 AM, Nick Coghlan wrote: > It's a mental model problem. People try to think of bytes as > equivalent to 2.x str and that's just wrong, wrong, wrong. It's far > closer to array.array('c'). Or like C char arrays > Strings are basically *unique* in > returning a length 1 instance of themselves for indexing operations. I still remember having to work that out and get used to it. -- Terry Jan Reedy
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4