MCPcopy Index your code
hub / github.com/python/cpython / _fixmonths

Function _fixmonths

Lib/_strptime.py:45–52  ·  view source on GitHub ↗
(months)

Source from the content-addressed store, hash-verified

43 i += len(needle)
44
45def _fixmonths(months):
46 yield from months
47 # The lower case of 'İ' ('\u0130') is 'i\u0307'.
48 # The re module only supports 1-to-1 character matching in
49 # case-insensitive mode.
50 for s in months:
51 if 'i\u0307' in s:
52 yield s.replace('i\u0307', '\u0130')
53
54lzh_TW_alt_digits = (
55 # 〇:一:二:三:四:五:六:七:八:九

Callers 1

__init__Method · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…