MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / compile

Method compile

tools/python-3.11.9-amd64/Lib/_strptime.py:261–263  ·  view source on GitHub ↗

Return a compiled re object for the format string.

(self, format)

Source from the content-addressed store, hash-verified

259 return "%s%s" % (processed_format, format)
260
261 def compile(self, format):
262 """Return a compiled re object for the format string."""
263 return re_compile(self.pattern(format), IGNORECASE)
264
265_cache_lock = _thread_allocate_lock()
266# DO NOT modify _TimeRE_cache or _regex_cache without acquiring the cache lock

Callers 15

_strptimeFunction · 0.95
imaplib.pyFile · 0.45
_mode_asciiMethod · 0.45
_mode_utf8Method · 0.45
_connectMethod · 0.45
locale.pyFile · 0.45
_compile_patternFunction · 0.45
gettext.pyFile · 0.45
resolve_nameFunction · 0.45
_getdescriptionsMethod · 0.45
xhdrMethod · 0.45
findsourceFunction · 0.45

Calls 1

patternMethod · 0.95

Tested by 1

_find_linenoMethod · 0.36