>On Wed, Jun 14, 2000 at 10:43:45AM +0200, M . -A . Lemburg wrote: >> >> I guess it's a bug... a subtle one though, because in a >> certain sense both 1 and 0 are acceptable. But since >> '' is considered to be false, I think that returning 0 >> makes more sense. >> >> I'll fix this to return 0 for emtpy strings and Unicode objects. [Trent Mick] >These are copied from Java, are they not? What do the Java equivalents >return? The .isXX methods does not exists on java strings, only on the Character class. So in java they can never be called on anything with length 0. regards, finn
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