| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
From SF patch #852334.
|
| |
|
|
|
|
|
|
| |
also modified check_all function to suppress all warnings since they aren't
relevant to what this test is doing (allows quiet checking of regsub, for
instance)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
warnings in this same module, to prevent getting a warning about
importing regex (we *know* that it's obsolete :-).
|
|
|
|
|
| |
Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
|
|
|
|
|
|
|
|
| |
The attached patches update the standard library so that all modules
have docstrings beginning with one-line summaries.
A new docstring was added to formatter. The docstring for os.py
was updated to mention nt, os2, ce in addition to posix, dos, mac.
|
|
|
|
|
|
|
| |
string as the key to the cache. This means that changing the syntax
will return the correct compiled pattern.
clear_cache(): New function.
|
|
|
|
|
| |
Give capwords a default pattern argument which will recognize words as
sequeces of [a-zA-Z0-9_].
|
|
|
|
|
|
| |
optional third argument gives a maximum number of delimiters to parse.
The new function splitx() is like split() but returns a list
containing the words as well as the delimiters.
|
| |
|
| |
|
|
string.splitfields(s, '') now returns [s] as split() in nawk.
Added _exit to exported functions of os.
|