[Python-checkins] python/dist/src/Lib textwrap.py,NONE,1.1

Neal Norwitz neal@metaslash.com
Fri, 07 Jun 2002 17:54:09 -0400


gward@users.sourceforge.net wrote:

> # XXX is this going to be implemented properly somewhere in 2.3?
> def islower (c):
>     return c in string.lowercase

****
	>>> print ''.islower.__doc__
	S.islower() -> bool

	Return True if all cased characters in S are lowercase and there is
	at least one cased character in S, False otherwise.
****

>     def __init__ (self):
>         self.expand_tabs = 1
>         self.replace_whitespace = 1
>         self.break_long_words = 1

Should use True?

Neal