class_docstr: Numpy printer which handles vectorized piecewise functions,
  logical operators, etc.
class_docstr_tok: ["Numpy","printer","which","handles","vectorized","piecewise","functions",",","logical","operators",",","etc","."]
code: def _print_Pow(self, expr, rational=False):
      # XXX Workaround for negative integer power error
      if expr.exp.is_integer and expr.exp.is_negative:
          expr = Pow(expr.base, expr.exp.evalf(), evaluate=False)
      return self._hprint_Pow(
          expr, rational=rational, sqrt=self._module + ".sqrt"
      )
  
imports: from sympy.core import S
  from sympy.core.function import Lambda
  from sympy.core.power import Pow
  from .pycode import PythonCodePrinter, _known_functions_math, _print_known_const, _print_known_func, _unpack_integral_limits, ArrayPrinter
  from .codeprinter import CodePrinter
label_desc: Use image node_id 22 for calling the NumPyPrinter obj's underlying member method code with example usage: obj._print_Pow(expr, rational) and returns: self