diff options
author | Greg Ward <gward@python.net> | 2002-06-07 21:56:16 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2002-06-07 21:56:16 (GMT) |
commit | 62e4f3bf224d6a3a17c04524a674caaa14270753 (patch) | |
tree | 9f3bb8d87941c55308f4a435aaeb762f89c08844 /Lib/calendar.py | |
parent | 00935824898a826f2dd6c65933667445075cdb2e (diff) | |
download | cpython-62e4f3bf224d6a3a17c04524a674caaa14270753.zip cpython-62e4f3bf224d6a3a17c04524a674caaa14270753.tar.gz cpython-62e4f3bf224d6a3a17c04524a674caaa14270753.tar.bz2 |
Add fix_sentence_endings option to control whether we ensure that
sentences are separated by two spaces.
Improve _fix_sentence_endings() a bit -- look for ".!?" instead of just
".", and factor out the list of sentence-ending punctuation characters
to a class attribute.
Diffstat (limited to 'Lib/calendar.py')
0 files changed, 0 insertions, 0 deletions