You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…6161)
Part of #5062Closes#5931
Implements formatting of a sequence of type parameters in a dedicated
struct for reuse by classes, functions, and type aliases (preparing for
#5929). Adds formatting of type parameters in class and function
definitions — previously, they were just elided.
PEP 695 introduces type parameters on function and classes in python 3.12, which are currently not considered when formatting, but should be added:
Their implementation can likely reuse larger parts of dict comprehensions. See psf/black#3703 for the black implementation
The text was updated successfully, but these errors were encountered: