docstr: Get shared library location in build directory
docstr_tok: ["Get","shared","library","location","in","build","directory"]
code: def get_location(self, modinfo: ModuleInfo) -> pathlib.Path:
      """Get shared library location in build directory"""
      if modinfo.state == ModuleState.SHARED:
          return self.builddir / f"{modinfo.name}{self.ext_suffix}"
      else:
          return None
  
imports: import argparse
  import collections
  import enum
  import logging
  import os
  import pathlib
  import re
  import sys
  import sysconfig
  import warnings
  from importlib._bootstrap import _load
  from importlib.machinery import BuiltinImporter, ExtensionFileLoader, ModuleSpec
  from importlib.util import spec_from_file_location, spec_from_loader
  from typing import Iterable
label_desc: Use image node_id 12 for calling the ModuleChecker obj's underlying member method code with example usage: obj.get_location(modinfo) and returns: unknown, None