class_docstr: This class abstracts handling of a project's versions.
  
  A :class:`Version` instance is comparison aware and can be compared and
  sorted using the standard Python interfaces.
  
  >>> v1 = Version("1.0a5")
  >>> v2 = Version("1.0")
  >>> v1
  <Version('1.0a5')>
  >>> v2
  <Version('1.0')>
  >>> v1 < v2
  True
  >>> v1 == v2
  False
  >>> v1 > v2
  False
  >>> v1 >= v2
  False
  >>> v1 <= v2
  True
docstr: The local version segment of the version.
  
  >>> print(Version("1.2.3").local)
  None
  >>> Version("1.2.3+abc").local
  'abc'
code: def local(self) -> Optional[str]:
      """The local version segment of the version.
  
      >>> print(Version("1.2.3").local)
      None
      >>> Version("1.2.3+abc").local
      'abc'
      """
      if self._version.local:
          return ".".join(str(x) for x in self._version.local)
      else:
          return None
  
imports: import itertools
  import re
  from typing import Any, Callable, NamedTuple, Optional, SupportsInt, Tuple, Union
  from ._structures import Infinity, InfinityType, NegativeInfinity, NegativeInfinityType
label_desc: Use image node_id 9 for calling the Version obj's underlying member method code with example usage: obj.local() and returns: str, None