Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
attr._compat._AnnotationExtractor Class Reference

Public Member Functions

 __init__ (self, callable)
 
 get_first_param_type (self)
 
 get_return_type (self)
 

Public Attributes

 sig
 

Detailed Description

Extract type annotations from a callable, returning None whenever there
is none.

Member Function Documentation

◆ get_first_param_type()

attr._compat._AnnotationExtractor.get_first_param_type (   self)
Return the type annotation of the first argument if it's not empty.

◆ get_return_type()

attr._compat._AnnotationExtractor.get_return_type (   self)
Return the return type if it's not empty.

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