Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
util.py File Reference

Go to the source code of this file.

Data Structures

class  ClassNotFound
 
class  OptionError
 
class  Future
 
class  UnclosingTextIOWrapper
 

Namespaces

namespace  pip
 
namespace  pip._vendor
 
namespace  pip._vendor.pygments
 
namespace  pip._vendor.pygments.util
 

Functions

 get_choice_opt (options, optname, allowed, default=None, normcase=False)
 
 get_bool_opt (options, optname, default=None)
 
 get_int_opt (options, optname, default=None)
 
 get_list_opt (options, optname, default=None)
 
 docstring_headline (obj)
 
 make_analysator (f)
 
 shebang_matches (text, regex)
 
 doctype_matches (text, regex)
 
 html_doctype_matches (text)
 
 looks_like_xml (text)
 
 surrogatepair (c)
 
 format_lines (var_name, seq, raw=False, indent_level=0)
 
 duplicates_removed (it, already_seen=())
 
 guess_decode (text)
 
 guess_decode_from_terminal (text, term)
 
 terminal_encoding (term)
 

Variables

 split_path_re = re.compile(r'[/\\ ]')
 
 doctype_lookup_re = re.compile(, re.DOTALL | re.MULTILINE | re.VERBOSE)
 
 tag_re
 
 xml_decl_re = re.compile(r'\s*<\?xml[^>]*\?>', re.I)
 
dict _looks_like_xml_cache = {}