On 07 June 2002, Paul Prescod said: > Why three statements instead of one expression? > > textwrap.wrap_my_text(text, fix_sentence_endings = 0) > > If you want to do class-y stuff internally, then go ahead. But wrapping > text is a stateless mathematical function with a domain and range. I'd > prefer function syntax. Yeah, me too. But there are an unbounded number of possible options that people might insist on, and making these options instance attributes seems vaguely friendly to subclasses to me. These are both wild, unproven allegations, of course. Patches welcome. Greg -- Greg Ward - geek gward@python.net http://starship.python.net/~gward/ I just read that 50% of the population has below median IQ!
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