(n)
Check whether the input is of nativ ``str`` type.

    Raises:
        TypeError: in case of failed check
Check whether the input is of nativ ``str`` type.
Check whether the input is of nativ str type .
def assert_native(n):
    """Check whether the input is of nativ ``str`` type.

    Raises:
        TypeError: in case of failed check
    """
    if not isinstance(n, str):
        raise TypeError('n must be a native str (got %s)' % type(n).__name__)
def assert_native ( n ) : if not isinstance ( n , str ) : raise TypeError ( 'n must be a native str (got %s)' % type ( n ) . __name__ )