![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| __init__ (self, Callable[..., T] func, list args, dict kwargs) | |
| "EditablePartial[T]" | from_call (cls, Callable[..., T] func, *args, **kwargs) |
| name (self) | |
| T | __call__ (self) |
Public Attributes | |
| func | |
| args | |
| kwargs | |
Acts like a functools.partial, but can be edited. In other words, it represents a type that hasn't yet been constructed.
| T pip._vendor.pyparsing.diagram.EditablePartial.__call__ | ( | self | ) |
Evaluate the partial and return the result
| "EditablePartial[T]" pip._vendor.pyparsing.diagram.EditablePartial.from_call | ( | cls, | |
| Callable[..., T] | func, | ||
| * | args, | ||
| ** | kwargs | ||
| ) |
If you call this function in the same way that you would call the constructor, it will store the arguments as you expect. For example EditablePartial.from_call(Fraction, 1, 3)() == Fraction(1, 3)