Skip to content

Commit 3aa78cf

Browse files
edit docstring to fit python standards
1 parent 8bfa58e commit 3aa78cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tseries/tools.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def _lexer_split_from_str(dt_str):
3434
except (ImportError, AttributeError):
3535
pass
3636

37-
37+
3838
def _infer_tzinfo(start, end):
3939
def _infer(a, b):
4040
tz = a.tzinfo
@@ -51,7 +51,7 @@ def _infer(a, b):
5151
tz = _infer(end, start)
5252
return tz
5353

54-
54+
5555
def _guess_datetime_format(dt_str, dayfirst=False,
5656
dt_str_parse=compat.parse_date,
5757
dt_str_split=_DATEUTIL_LEXER_SPLIT):
@@ -134,7 +134,7 @@ def _guess_datetime_format(dt_str, dayfirst=False,
134134
for i, token_format in enumerate(format_guess):
135135
token_filled = tokens[i].zfill(padding)
136136
if (token_format is None and
137-
token_filled == parsed_datetime.strftime(attr_format)):
137+
token_filled == parsed_datetime.strftime(attr_format)):
138138
format_guess[i] = attr_format
139139
tokens[i] = token_filled
140140
found_attrs.update(attrs)

0 commit comments

Comments
 (0)