class_docstr: Replaces **2 by a call to numpy.square.
  
  >>> import gast as ast
  >>> from pythran import passmanager, backend
  >>> node = ast.parse('a**2')
  >>> pm = passmanager.PassManager("test")
  >>> _, node = pm.apply(Square, node)
  >>> print(pm.dump(backend.Python, node))
  import numpy as __pythran_import_numpy
  __pythran_import_numpy.square(a)
  >>> node = ast.parse('__pythran_import_numpy.power(a,2)')
  >>> pm = passmanager.PassManager("test")
  >>> _, node = pm.apply(Square, node)
  >>> print(pm.dump(backend.Python, node))
  import numpy as __pythran_import_numpy
  __pythran_import_numpy.square(a)
class_docstr_tok: ["Replaces","*","*","2","by","a","call","to","numpy.square",".",">",">",">","import","gast","as","ast",">",">",">","from","pythran","import","passmanager",",","backend",">",">",">","node","=","ast.parse","(","'","a","*","*","2","'",")",">",">",">","pm","=","passmanager.PassManager","(","``","test","''",")",">",">",">","_",",","node","=","pm.apply","(","Square",",","node",")",">",">",">","print","(","pm.dump","(","backend.Python",",","node",")",")","import","numpy","as","__pythran_import_numpy","__pythran_import_numpy.square","(","a",")",">",">",">","node","=","ast.parse","(","'__pythran_import_numpy.power","(","a,2",")","'",")",">",">",">","pm","=","passmanager.PassManager","(","``","test","''",")",">",">",">","_",",","node","=","pm.apply","(","Square",",","node",")",">",">",">","print","(","pm.dump","(","backend.Python",",","node",")",")","import","numpy","as","__pythran_import_numpy","__pythran_import_numpy.square","(","a",")"]
code: def __init__(self):
      Transformation.__init__(self)
  
file_path: catboost/contrib/python/pythran/pythran/optimizations/square.py
imports: from pythran.passmanager import Transformation
  from pythran.analyses.ast_matcher import ASTMatcher, AST_any
  from pythran.conversion import mangle
  from pythran.utils import isnum
  import gast
  import copy
label_desc: Use image node_id 1 to create a new Square object from inherited base classes: Transformation with example: obj = Square()