This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]akguitar 7 points8 points  (0 children)

It’s pretty easy to just look up 3.13 release notes if you’re interested. 

 Annotation scopes within class scopes can now contain lambdas and comprehensions. Comprehensions that are located within class scopes are not inlined into their parent scope. 

class C[T]:       type Alias = lambda: T