Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
pip._vendor.pyparsing.diagram.EditablePartial Class Reference
Inheritance diagram for pip._vendor.pyparsing.diagram.EditablePartial:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.pyparsing.diagram.EditablePartial:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, Callable[..., T] func, list args, dict kwargs)
 
"EditablePartial[T]" from_call (cls, Callable[..., T] func, *args, **kwargs)
 
 name (self)
 
__call__ (self)
 

Public Attributes

 func
 
 args
 
 kwargs
 

Detailed Description

Acts like a functools.partial, but can be edited. In other words, it represents a type that hasn't yet been
constructed.

Member Function Documentation

◆ __call__()

T pip._vendor.pyparsing.diagram.EditablePartial.__call__ (   self)
Evaluate the partial and return the result

◆ from_call()

"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)

The documentation for this class was generated from the following file: