| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Also update the example of the generated code.
Documentation build overview4 files changed ± versions/index.html ± developer-workflow/extension-modules/index.html ± development-tools/clinic/howto/index.html ± development-tools/clinic/tutorial/index.html |
Sorry, something went wrong.
Co-authored-by: Petr Viktorin <encukou@gmail.com>
| Back | FazBrowse Home | New Git URL |
The setter generated by Argument Clinic is called with NULL to delete the attribute, and by default it rejects the deletion with an AttributeError. The @deleter directive, applied to the @setter, lets the implementation handle the deletion. Neither was documented.
The example of the generated code is also updated -- it was written before the accessors started to take PyObject *self.