]> granicus.if.org Git - python/commit
Add optional 4th argument to count(), matching find() etc.
authorGuido van Rossum <guido@python.org>
Mon, 20 Oct 1997 23:31:15 +0000 (23:31 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 20 Oct 1997 23:31:15 +0000 (23:31 +0000)
commit1510565cb5efb22604bd81696ebc12ad5781017e
treed05cd82fb478537dbe888fee1eb0829678e113f9
parentdd65975ac716a9a3beaa80189ab72ce0f88779e4
Add optional 4th argument to count(), matching find() etc.
Also change all occurrences of "x == None" to "x is None" (not that it
matters much, these functions are all reimplemented in strop -- but
count() is not).
Lib/string.py
Lib/stringold.py