This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: abc.abstractproperty() docs list fget as required; fget is not required by abc.abstractproperty()
Type: Stage:
Components: Documentation Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: Devin Jeanpierre, georg.brandl
Priority: normal Keywords:

Created on 2009-03-27 18:38 by Devin Jeanpierre, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg84277 - (view) Author: Devin Jeanpierre (Devin Jeanpierre) * Date: 2009-03-27 18:38
The documentation uses the function signature 
`abc.abstractproperty(fget[, fset[, fdel[, doc]]])`, implying that 
fget is mandatory, and all other arguments are optional. The correct 
version would be `abc.abstractproperty([fget[, fset[, fdel[, 
doc]]]])`, or else to change abc.abstractproperty() to require fget (I 
have not compiled 2.7+ to test if this is the case, I only know that 
the docs in trunk continue to use this signature).

I initially suspected that I misunderstood the signature syntax, but 
other functions use it as I would assume-- for instance, the Built-In 
Functions documentation lists `property([fget[, fset[, fdel[, 
doc]]]])`.
msg84809 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-03-31 15:50
Fixed in r70828, thanks!
History
Date User Action Args
2022-04-11 14:56:47adminsetgithub: 49831
2009-03-31 15:50:29georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg84809
2009-03-27 18:38:30Devin Jeanpierrecreate