code: def parse_key_value_pair(
      src: str, pos: Pos, parse_float: ParseFloat
  ) -> tuple[Pos, Key, Any]:
      pos, key = parse_key(src, pos)
      try:
          char: str | None = src[pos]
      except IndexError:
          char = None
      if char != "=":
          raise suffixed_err(
              src, pos, "Expected '=' after a key in a key/value pair"
          )
      pos += 1
      pos = skip_chars(src, pos, TOML_WS)
      pos, value = parse_value(src, pos, parse_float)
      return pos, key, value
  
imports: from __future__ import annotations
  from collections.abc import Iterable
  import string
  from types import MappingProxyType
  from typing import Any, BinaryIO, NamedTuple
  from ._re import RE_DATETIME, RE_LOCALTIME, RE_NUMBER, match_to_datetime, match_to_localtime, match_to_number
  from ._types import Key, ParseFloat, Pos
label_desc: Use image node_id 10 for calling a global function with example usage: parse_key_value_pair(src, pos, parse_float) and returns: pos,  key,  value