def traversal_path(path):
 if isinstance(path, text_type):
  path = path.encode('ascii')
 path = unquote_bytes_to_wsgi(path)
 return traversal_path_info(path)

def traversal_path ( path ) : if isinstance ( path , text_type ) : path = path . encode ( 'ascii' ) path = unquote_bytes_to_wsgi ( path ) return traversal_path_info ( path )
variant of :func:pyramid .