[issue5581] abc.abstractproperty() docs list fget as required; fget is not required by abc.abstractproperty()

Devin Jeanpierre report at bugs.python.org
Fri Mar 27 19:38:31 CET 2009


New submission from Devin Jeanpierre <jeanpierreda at gmail.com>:

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]]]])`.

----------
assignee: georg.brandl
components: Documentation
messages: 84277
nosy: Devin Jeanpierre, georg.brandl
severity: normal
status: open
title: abc.abstractproperty() docs list fget as required; fget is not required by abc.abstractproperty()
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5581>
_______________________________________


More information about the Python-bugs-list mailing list