diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-04-24 16:02:54 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-04-24 16:02:54 (GMT) |
commit | 0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a (patch) | |
tree | 6d84cc9f2da9f24dd76871e75a80e618fd519a27 /Lib/_strptime.py | |
parent | 0822ff7ccab0465cf4377176089dfdbabbd0a35b (diff) | |
download | cpython-0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a.zip cpython-0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a.tar.gz cpython-0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/_strptime.py')
-rw-r--r-- | Lib/_strptime.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/_strptime.py b/Lib/_strptime.py index 0777b7e..81c105f 100644 --- a/Lib/_strptime.py +++ b/Lib/_strptime.py @@ -374,10 +374,10 @@ class TimeRE(dict): def pattern(self, format): """Return re pattern for the format string. - + Need to make sure that any characters that might be interpreted as regex syntax is escaped. - + """ processed_format = '' # The sub() call escapes all characters that might be misconstrued @@ -528,4 +528,3 @@ def _insensitiveindex(lst, findme): return key else: raise ValueError("value not in list") - |