Commit 58094a5
authored
Changed behavior of pyright to match the latest typing spec when it encounters an attribute with a type annotation within an
Enum class body in a stub. These are now treated as non-member attributes rather than members. Typeshed stubs have been updated to conform to the new standard. This addresses #8061. (#8063)1 parent 46eba6a commit 58094a5
1 file changed
+0
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | 313 | | |
321 | 314 | | |
322 | 315 | | |
| |||
342 | 335 | | |
343 | 336 | | |
344 | 337 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | 338 | | |
353 | 339 | | |
354 | 340 | | |
| |||
0 commit comments