code: def _i8(c: int | bytes) -> int:
      return c if isinstance(c, int) else c[0]
  
file_path: pillow/src/PIL/IptcImagePlugin.py
imports: from __future__ import annotations
  from io import BytesIO
  from typing import Sequence
  from .None import Image, ImageFile
  from ._binary import i16be
  from ._binary import i32be
  from ._deprecate import deprecate
label_desc: Use image node_id 3 for calling a global function with example usage: _i8(c) and returns: unknown