summaryrefslogtreecommitdiff
path: root/src/pyparsing.py
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@austin.rr.com>2016-06-12 22:08:45 +0000
committerPaul McGuire <ptmcg@austin.rr.com>2016-06-12 22:08:45 +0000
commit82c708d89717e354e8ea5997eae4a4743e18de26 (patch)
treee4bb680da6e5cbfeba30a98644ec34d9d2aa2e40 /src/pyparsing.py
parent72ec678f2260f3d6edc2de9d3a2216ed070230d8 (diff)
downloadpyparsing-git-82c708d89717e354e8ea5997eae4a4743e18de26.tar.gz
Fix docstring formatting for epydoc
Diffstat (limited to 'src/pyparsing.py')
-rw-r--r--src/pyparsing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pyparsing.py b/src/pyparsing.py
index 2cbd023..f2dbde9 100644
--- a/src/pyparsing.py
+++ b/src/pyparsing.py
@@ -4016,7 +4016,7 @@ class pyparsing_common:
Helper to create a parse action for converting parsed date string to Python datetime.date
Params -
- - fmt - format to be passed to datetime.strptime (default="%Y-%m-%d")
+ - fmt - format to be passed to datetime.strptime (default="%Y-%m-%d")
"""
return lambda s,l,t: datetime.strptime(t[0], fmt).date()
@@ -4026,7 +4026,7 @@ class pyparsing_common:
Helper to create a parse action for converting parsed datetime string to Python datetime.datetime
Params -
- - fmt - format to be passed to datetime.strptime (default="%Y-%m-%dT%H:%M:%S.%f")
+ - fmt - format to be passed to datetime.strptime (default="%Y-%m-%dT%H:%M:%S.%f")
"""
return lambda s,l,t: datetime.strptime(t[0], fmt)