code: def pep440_split_post(ver: str) -> Tuple[str, Optional[int]]:
      """Split pep440 version string at the post-release segment.
  
      Returns the release segments before the post-release and the
      post-release version number (or -1 if no post-release segment is present).
      """
      vc = str.split(ver, ".post")
      return vc[0], int(vc[1] or 0) if len(vc) == 2 else None
  
imports: import configparser
  import errno
  import json
  import os
  import re
  import subprocess
  import sys
  from pathlib import Path
  from typing import Any, Callable, cast, Dict, List, Optional, Tuple, Union
  from typing import NoReturn
  import functools
label_desc: Use image node_id 15 for calling a global function with example usage: pep440_split_post(ver) and returns: vc,  unknown