OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
class | _LazyDescr |
class | _LazyModule |
class | _MovedItems |
class | _SixMetaPathImporter |
class | Iterator |
class | Module_six_moves_urllib |
class | Module_six_moves_urllib_error |
class | Module_six_moves_urllib_parse |
class | Module_six_moves_urllib_request |
class | Module_six_moves_urllib_response |
class | Module_six_moves_urllib_robotparser |
class | MovedAttribute |
class | MovedModule |
class | X |
Functions | |
def | add_move (move) |
def | remove_move (name) |
def | advance_iterator (it) |
def | callable (obj) |
def | get_unbound_function (unbound) |
def | create_unbound_method (func, cls) |
def | create_bound_method (func, obj) |
def | iterkeys (d, **kw) |
def | itervalues (d, **kw) |
def | iteritems (d, **kw) |
def | iterlists (d, **kw) |
def | b (s) |
def | u (s) |
def | byte2int (bs) |
def | indexbytes (buf, i) |
def | assertCountEqual (self, *args, **kwargs) |
def | assertRaisesRegex (self, *args, **kwargs) |
def | assertRegex (self, *args, **kwargs) |
def | reraise (tp, value, tb=None) |
def | exec_ (_code_, _globs_=None, _locs_=None) |
def | raise_from (value, from_value) |
def | print_ (*args, **kwargs) |
def | wraps (wrapped, assigned=functools.WRAPPER_ASSIGNMENTS, updated=functools.WRAPPER_UPDATES) |
def | with_metaclass (meta, *bases) |
def | add_metaclass (metaclass) |
def | ensure_binary (s, encoding="utf-8", errors="strict") |
def | ensure_str (s, encoding="utf-8", errors="strict") |
def | ensure_text (s, encoding="utf-8", errors="strict") |
def | python_2_unicode_compatible (klass) |
def pip._vendor.urllib3.packages.six.add_metaclass | ( | metaclass | ) |
Class decorator for creating a class with a metaclass.
def pip._vendor.urllib3.packages.six.add_move | ( | move | ) |
Add an item to six.moves.
def pip._vendor.urllib3.packages.six.advance_iterator | ( | it | ) |
def pip._vendor.urllib3.packages.six.assertCountEqual | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
def pip._vendor.urllib3.packages.six.assertRaisesRegex | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
def pip._vendor.urllib3.packages.six.assertRegex | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
def b | ( | s | ) |
def pip._vendor.urllib3.packages.six.byte2int | ( | bs | ) |
def pip._vendor.urllib3.packages.six.callable | ( | obj | ) |
def pip._vendor.urllib3.packages.six.create_bound_method | ( | func, | |
obj | |||
) |
def create_unbound_method | ( | func, | |
cls | |||
) |
def pip._vendor.urllib3.packages.six.ensure_binary | ( | s, | |
encoding = "utf-8" , |
|||
errors = "strict" |
|||
) |
Coerce **s** to six.binary_type. For Python 2: - `unicode` -> encoded to `str` - `str` -> `str` For Python 3: - `str` -> encoded to `bytes` - `bytes` -> `bytes`
def pip._vendor.urllib3.packages.six.ensure_str | ( | s, | |
encoding = "utf-8" , |
|||
errors = "strict" |
|||
) |
Coerce *s* to `str`. For Python 2: - `unicode` -> encoded to `str` - `str` -> `str` For Python 3: - `str` -> `str` - `bytes` -> decoded to `str`
def pip._vendor.urllib3.packages.six.ensure_text | ( | s, | |
encoding = "utf-8" , |
|||
errors = "strict" |
|||
) |
Coerce *s* to six.text_type. For Python 2: - `unicode` -> `unicode` - `str` -> `unicode` For Python 3: - `str` -> `str` - `bytes` -> decoded to `str`
def pip._vendor.urllib3.packages.six.exec_ | ( | _code_, | |
_globs_ = None , |
|||
_locs_ = None |
|||
) |
Execute code in a namespace.
def get_unbound_function | ( | unbound | ) |
def pip._vendor.urllib3.packages.six.indexbytes | ( | buf, | |
i | |||
) |
def iteritems | ( | d, | |
** | kw | ||
) |
def iterkeys | ( | d, | |
** | kw | ||
) |
def iterlists | ( | d, | |
** | kw | ||
) |
def itervalues | ( | d, | |
** | kw | ||
) |
def pip._vendor.urllib3.packages.six.print_ | ( | * | args, |
** | kwargs | ||
) |
The new-style print function for Python 2.4 and 2.5.
def pip._vendor.urllib3.packages.six.python_2_unicode_compatible | ( | klass | ) |
A decorator that defines __unicode__ and __str__ methods under Python 2. Under Python 3 it does nothing. To support Python 2 and 3 with a single code base, define a __str__ method returning text and apply this decorator to the class.
def pip._vendor.urllib3.packages.six.raise_from | ( | value, | |
from_value | |||
) |
def pip._vendor.urllib3.packages.six.remove_move | ( | name | ) |
Remove item from six.moves.
def pip._vendor.urllib3.packages.six.reraise | ( | tp, | |
value, | |||
tb = None |
|||
) |
def u | ( | s | ) |
def pip._vendor.urllib3.packages.six.with_metaclass | ( | meta, | |
* | bases | ||
) |
Create a base class with a metaclass.
def pip._vendor.urllib3.packages.six.wraps | ( | wrapped, | |
assigned = functools.WRAPPER_ASSIGNMENTS , |
|||
updated = functools.WRAPPER_UPDATES |
|||
) |
advance_iterator |
binary_type |
byte2int |
BytesIO |
callable |
class_types |
create_bound_method |
exec_ |
get_function_closure |
get_function_code |
get_function_defaults |
get_function_globals |
get_method_function |
get_method_self |
indexbytes |
int2byte |
integer_types |
iterbytes |
MAXSIZE |
moves |
next |
print_ |
PY2 |
PY3 |
PY34 |
string_types |
StringIO |
submodule_search_locations |
text_type |
unichr |
viewitems |
viewkeys |
viewvalues |
wraps |