Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 375 Bytes

950.change.rst

File metadata and controls

5 lines (4 loc) · 375 Bytes

attrs.field now supports an alias option for explicit __init__ argument names.

Get __init__ signatures matching any taste, peculiar or plain! The PEP 681 compatible alias option can be use to override private attribute name mangling, or add other arbitrary field argument name overrides.