code: def __init__(self, name=None):
      if name is not None:
          if not isinstance(name, str):
              raise TypeError(
                  "Axis name must be a single-character string"
              )
          if len(name) != 1:
              raise ValueError(
                  "Axis name must be a single-character string"
              )
      self._name = name
  
imports: from __future__ import annotations
  import sys
  from ._utils.hacks import not_iterable
label_desc: Use image node_id 1 to create a new _NewAxis object  with example: obj = _NewAxis(name)