parameters: ()
docstring: Required to permit printing of symbolic array types in NumPy < 1.13.0.
  
      See #8729 for more information.
docstring_summary: Required to permit printing of symbolic array types in NumPy < 1.13.0.
docstring_tokens: Required to permit printing of symbolic array types in NumPy < 1 . 13 . 0 .
function: def maybe_patch_numpy_formatters():
      """Required to permit printing of symbolic array types in NumPy < 1.13.0.
  
      See #8729 for more information.
      """
      # Provides version-dependent monkey-patch which effectively achieves a
      # portion of https://github.com/numpy/numpy/pull/8963
      patch = _patches['numpy_formatters']
      if not patch['required']:
          return
      if patch['applied']:
          return
      module = np.core.arrayprint
      defer_callable_types = [
          'IntegerFormat',
          'FloatFormat',
      ]
      for name in defer_callable_types:
          original = getattr(module, name)
          deferred = _defer_callable_type(original)
          setattr(module, name, deferred)
      patch['applied'] = True
function_tokens: def maybe_patch_numpy_formatters ( ) : # Provides version-dependent monkey-patch which effectively achieves a # portion of https://github.com/numpy/numpy/pull/8963 patch = _patches [ 'numpy_formatters' ] if not patch [ 'required' ] : return if patch [ 'applied' ] : return module = np . core . arrayprint defer_callable_types = [ 'IntegerFormat' , 'FloatFormat' , ] for name in defer_callable_types : original = getattr ( module , name ) deferred = _defer_callable_type ( original ) setattr ( module , name , deferred ) patch [ 'applied' ] = True