>>>>> "FL" == Fredrik Lundh <fredrik at pythonware.com> writes: >> Two new methods startswith and endswith act like their Java >> cousins. FL> is it just me, or do those method names suck? FL> begin? starts_with? startsWith? (ouch) FL> has_prefix? The inspiration was Java string objects, while trying to remain as Pythonic as possible (no mixed case). startswith and endswith doen't seem as bad as issubclass to me :) -Barry
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