code: def match_to_localtime(match: re.Match) -> time:
      hour_str, minute_str, sec_str, micros_str = match.groups()
      micros = int(micros_str.ljust(6, "0")) if micros_str else 0
      return time(int(hour_str), int(minute_str), int(sec_str), micros)
  
file_path: catboost/contrib/tools/python3/src/Lib/tomllib/_re.py
imports: from __future__ import annotations
  from datetime import date, datetime, time, timedelta, timezone, tzinfo
  from functools import lru_cache
  import re
  from typing import Any
  from ._types import ParseFloat
label_desc: Use image node_id 3 for calling a global function with example usage: match_to_localtime(match) and returns: time