parameters: (path)
return_statement: return os.path.normpath(path)
docstring: Version of os.path.normpath that also changes backward slashes to
    forward slashes when not running on Windows.
docstring_summary: Version of os.path.normpath that also changes backward slashes to
    forward slashes when not running on Windows.
docstring_tokens: Version of os . path . normpath that also changes backward slashes to forward slashes when not running on Windows .
function: def normpath(path):
    '''Version of os.path.normpath that also changes backward slashes to
    forward slashes when not running on Windows.
    '''
    # This is safe to always do because the Windows version of os.path.normpath
    # will replace forward slashes with backward slashes.
    path = path.replace('\\', '/')
    return os.path.normpath(path)
function_tokens: def normpath ( path ) : # This is safe to always do because the Windows version of os.path.normpath # will replace forward slashes with backward slashes. path = path . replace ( '\\' , '/' ) return os . path . normpath ( path )