tools/json_schema_compiler/feature_compiler.py
def _GetType(self, value):
    """Returns the type of the given value.
    """
    # For Py3 compatibility we use str in the grammar and treat unicode as str
    # in Py2.
    if sys.version_info.major == 2 and type(value) is unicode:
      return str

    return type(value)
Returns the type of the given value.
    
Returns the type of the given value.
Returns the type of the given value .
def _GetType(self, value):
    if sys.version_info.major == 2 and type(value) is unicode:
      return str
    return type(value)
def _GetType ( self , value ) : if sys . version_info . major == 2 and type ( value ) is unicode : return str return type ( value )
Returns the type of the given value.
Returns the type of the given value .
"""Returns the type of the given value.
    """ # For Py3 compatibility we use str in the grammar and treat unicode as str # in Py2.
self
value