|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
| class | cached_property |
Functions | |
| def | wraps (fn) |
| def | capture (fut, tb) |
| def | getargspec (func) |
| def | visible_attrs (obj, attrs=None) |
| def | find_ordinal (pos_num) |
| def | to_ordinal (pos_num) |
| def | get_callback_name (cb) |
Variables | |
| MAX_WAIT | |
| def capture | ( | fut, | |
| tb | |||
| ) |
| def pip._vendor.tenacity._utils.find_ordinal | ( | pos_num | ) |
| def pip._vendor.tenacity._utils.get_callback_name | ( | cb | ) |
Get a callback fully-qualified name. If no name can be produced ``repr(cb)`` is called and returned.
| def getargspec | ( | func | ) |
| def pip._vendor.tenacity._utils.to_ordinal | ( | pos_num | ) |
| def pip._vendor.tenacity._utils.visible_attrs | ( | obj, | |
attrs = None |
|||
| ) |
| def pip._vendor.tenacity._utils.wraps | ( | fn | ) |
Do the same as six.wraps but only copy attributes that exist. For example, object instances don't have __name__ attribute, so six.wraps fails. This is fixed in Python 3 (https://bugs.python.org/issue3445), but didn't get backported to six. Also, see https://github.com/benjaminp/six/issues/250.
| MAX_WAIT |