taukit/webscraping/utils.py
def strip(x):
    """Strip a string.

    Parameters
    ----------
    x : any
        A str object which is to be stripped. Anything else is returned as is.
    """
    if isinstance(x, str):
        return x.strip()
    return x
Strip a string.

    Parameters
    ----------
    x : any
        A str object which is to be stripped. Anything else is returned as is.
    
Strip a string.
Parameters

x : any
A str object which is to be stripped. Anything else is returned as is.
Strip a string . Parameters x : any A str object which is to be stripped . Anything else is returned as is .
def strip(x):
    if isinstance(x, str):
        return x.strip()
    return x
def strip ( x ) : if isinstance ( x , str ) : return x . strip ( ) return x
Strip a string.
Strip a string .
"""Strip a string.

    Parameters
    ----------
    x : any
        A str object which is to be stripped. Anything else is returned as is.
    """
x