(self, name: str)
| 953 | self.opts = opts |
| 954 | |
| 955 | def __getattr__(self, name: str) -> _FunctionGenerator: |
| 956 | # passthru __ attributes; fixes pydoc |
| 957 | if name.startswith("__"): |
| 958 | try: |
| 959 | return self.__dict__[name] # type: ignore |
| 960 | except KeyError: |
| 961 | raise AttributeError(name) |
| 962 | |
| 963 | elif name.endswith("_"): |
| 964 | name = name[0:-1] |
| 965 | f = _FunctionGenerator(**self.opts) |
| 966 | f.__names = list(self.__names) + [name] |
| 967 | return f |
| 968 | |
| 969 | @overload |
| 970 | def __call__( |
nothing calls this directly
no test coverage detected