summaryrefslogtreecommitdiff
path: root/Lib/_strptime.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-04-24 16:02:54 +0000
committerTim Peters <tim.peters@gmail.com>2003-04-24 16:02:54 +0000
commit38425ed060dd425bc6383c46c0a07b4ac57015a3 (patch)
tree614b9f29064f6203aaaa79febd398f2d16761d82 /Lib/_strptime.py
parentd92fcf0faf9d8471b06a8f26611d6c99ab7a8005 (diff)
downloadcpython-38425ed060dd425bc6383c46c0a07b4ac57015a3.tar.gz
Whitespace normalization.
Diffstat (limited to 'Lib/_strptime.py')
-rw-r--r--Lib/_strptime.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/_strptime.py b/Lib/_strptime.py
index 0777b7e801..81c105f758 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")
-