mirror of
https://github.com/python/cpython.git
synced 2026-10-29 10:55:16 +08:00
The value of a @setter is now a parameter, which can use a converter, and a @getter can define a return converter. Declaring the value is optional. The accessors of an attribute are now collected in a Property, so the entry of PyGetSetDef is identified by the Python name instead of the C basename, and is composed without the help of the preprocessor unless some accessor is compiled conditionally.