Skip to content

Commit b3b161f

Browse files
committed
Docstring edit
1 parent a77c3da commit b3b161f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Lib/_strptime.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -241,15 +241,15 @@ def __pattern_with_lax_year(self, format):
241241
242242
Necessary to ensure that strptime() is able to parse strftime()'s
243243
output when %c or %x is used -- considering that for some locales
244-
and platforms (e.g., 'C.UTF-8' on Linux) formatting with either
245-
%c or %x may produce a year number representation which is *not*
246-
zero-padded and, consequently (if the number is small enough),
247-
shorter than the usual four or two digits (e.g., '999' rather
248-
than `0999', or '9' rather than of '09').
244+
and platforms (e.g., 'C.UTF-8' on Linux) formatting with %c or %x
245+
may produce a year number representation which is not zero-padded
246+
and, consequently (if the number is small enough), shorter than
247+
the usual four or two digits (e.g., '999' rather than `0999', or
248+
'9' rather than of '09').
249249
250250
Note that this helper is intended to be used to prepare regex
251-
patterns *only* for the `%c` and `%x` format codes (and *not*
252-
for `%y`, `%Y` or `%G`).
251+
patterns *only* for the %c and %x format codes (and *not* for
252+
%y, %Y or %G).
253253
254254
"""
255255
pattern = self.pattern(format)

0 commit comments

Comments
 (0)