File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments