code: def __init__(self, marker):
      # type: (str) -> None
      try:
          self._markers = _coerce_parse_result(
              MARKER.parseString(marker)
          )
      except ParseException as e:
          err_str = (
              "Invalid marker: {0!r}, parse error at {1!r}".format(
                  marker, marker[e.loc : e.loc + 8]
              )
          )
          raise InvalidMarker(err_str)
  
imports: from __future__ import absolute_import, division, print_function
  import operator
  import os
  import platform
  import sys
  from pyparsing import Forward, Group, Literal, ParseException, ParseResults, QuotedString, ZeroOrMore, stringEnd, stringStart
  from ._compat import string_types
  from ._typing import TYPE_CHECKING
  from .specifiers import InvalidSpecifier, Specifier
label_desc: Use image node_id 1 to create a new Marker object from inherited base classes: object with example: obj = Marker(marker)