tools/json_schema_compiler/cpp_bundle_generator.py
def _RemoveUnneededFields(schema):
  """Returns a copy of |schema| with fields that aren't necessary at runtime
  removed.
  """
  # Return a copy so that we don't pollute the global api object, which may be
  # used elsewhere.
  ret = copy.deepcopy(schema)
  if sys.version_info.major == 2:
    _RemoveKey(ret, 'description', basestring)
  else:
    _RemoveKey(ret, 'description', str)
  _RemoveKey(ret, 'compiler_options', dict)
  _RemoveKey(ret, 'nodoc', bool)
  _RemoveKey(ret, 'nocompile', bool)
  _RemoveKey(ret, 'noinline_doc', bool)
  _RemoveKey(ret, 'jsexterns', object)
  _RemoveKey(ret, 'manifest_keys', object)
  return ret
Returns a copy of |schema| with fields that aren't necessary at runtime
  removed.
  
Returns a copy of |schema| with fields that aren't necessary at runtime
removed.
Returns a copy of |schema| with fields that aren ' t necessary at runtime removed .
def _RemoveUnneededFields(schema):
  ret = copy.deepcopy(schema)
  if sys.version_info.major == 2:
    _RemoveKey(ret, 'description', basestring)
  else:
    _RemoveKey(ret, 'description', str)
  _RemoveKey(ret, 'compiler_options', dict)
  _RemoveKey(ret, 'nodoc', bool)
  _RemoveKey(ret, 'nocompile', bool)
  _RemoveKey(ret, 'noinline_doc', bool)
  _RemoveKey(ret, 'jsexterns', object)
  _RemoveKey(ret, 'manifest_keys', object)
  return ret
def _RemoveUnneededFields ( schema ) : ret = copy . deepcopy ( schema ) if sys . version_info . major == 2 : _RemoveKey ( ret , 'description' , basestring ) else : _RemoveKey ( ret , 'description' , str ) _RemoveKey ( ret , 'compiler_options' , dict ) _RemoveKey ( ret , 'nodoc' , bool ) _RemoveKey ( ret , 'nocompile' , bool ) _RemoveKey ( ret , 'noinline_doc' , bool ) _RemoveKey ( ret , 'jsexterns' , object ) _RemoveKey ( ret , 'manifest_keys' , object ) return ret
Returns a copy of |schema| with fields that aren't necessary at runtime
removed.
Returns a copy of |schema| with fields that aren ' t necessary at runtime removed .
"""Returns a copy of |schema| with fields that aren't necessary at runtime
  removed.
  """ # Return a copy so that we don't pollute the global api object, which may be # used elsewhere.
schema