Commit e629000
authored
pyi_generator: handle
* pyi_generator: handle `Callable[[], None]` annotation for LambdaVar
If the annotation is a list, process it recursively and return a list.
* Include annotated assignments in namespace classes
This allows a namespace to also include classes and type aliasesCallable[[], None] annotation for LambdaVar (#5282)1 parent 60df907 commit e629000
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
224 | 230 | | |
225 | 231 | | |
226 | 232 | | |
| |||
1029 | 1035 | | |
1030 | 1036 | | |
1031 | 1037 | | |
1032 | | - | |
| 1038 | + | |
1033 | 1039 | | |
1034 | 1040 | | |
1035 | 1041 | | |
| |||
0 commit comments