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

Function _normalize_localtime_str

Lib/test/test_tomllib/burntsushi.py:92–93  ·  view source on GitHub ↗
(lt_str: str)

Source from the content-addressed store, hash-verified

90
91
92def _normalize_localtime_str(lt_str: str) -> str:
93 return lt_str.rstrip("0") if "." in lt_str else lt_str
94
95
96def _normalize_float_str(float_str: str) -> str:

Callers 2

convertFunction · 0.85
normalizeFunction · 0.85

Calls 1

rstripMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…