class_docstr: Metaclass to support subtyping with parameters for pattern matching, e.g. ``Number[int, int]``.
class_docstr_tok: ["Metaclass","to","support","subtyping","with","parameters","for","pattern","matching",",","e.g",".","``","Number","[","int",",","int","]","``","."]
code: def __repr__(cls):
      return get_origin(cls).__name__ + (
          ""
          if not get_args(cls)
          else "[{}]".format(", ".join(repr(t) for t in get_args(cls)))
      )
  
imports: import functools
  import sys
  import typing
  import weakref
  import typing_extensions
  from multipledispatch.variadic import Variadic
  from multipledispatch.variadic import isvariadic
label_desc: Use image node_id 4 for calling the GenericTypeMeta obj's underlying member method code with example usage: obj.__repr__(cls) and returns: unknown