Reference
placeholder.F
Bases: partial
Singleton for creating composite functions.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
*funcs |
Callable
|
ordered callables |
required |
Source code in placeholder/__init__.py
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
|
__getattribute__(attr)
Return attrgetter
.
Source code in placeholder/__init__.py
59 60 61 62 63 |
|
__getitem__(item)
Return itemgetter
.
Source code in placeholder/__init__.py
65 66 67 |
|
__iter__()
Return composed functions in order.
Source code in placeholder/__init__.py
54 55 56 57 |
|
__round__(ndigits=None)
Return round(...)
.
Source code in placeholder/__init__.py
69 70 71 |
|
placeholder.M
Singleton for creating method callers and multi-valued getters.
Source code in placeholder/__init__.py
108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
|
__call__(*names)
Return a tupled attrgetter
.
Source code in placeholder/__init__.py
115 116 117 |
|
__getattr__(name)
Return a methodcaller
constructor.
Source code in placeholder/__init__.py
111 112 113 |
|
__getitem__(keys)
Return a tupled itemgetter
.
Source code in placeholder/__init__.py
119 120 121 |
|