Fix typo reported by Andrew MacKeith.

This commit is contained in:
Guido van Rossum 2001-06-18 20:46:13 +00:00
parent b6bd93ff82
commit 8727f5379f
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ Specification of the attribute descriptor API
- readonly: Boolean indicating whether assignment to this - readonly: Boolean indicating whether assignment to this
attribute is disallowed. This is usually true for methods. attribute is disallowed. This is usually true for methods.
Example: C.meth.readonly == 1; C.ivar.kind == 0. Example: C.meth.readonly == 1; C.ivar.readonly == 0.
- get(): a function of one argument that retrieves the attribute - get(): a function of one argument that retrieves the attribute
value from an object. Examples: C.ivar.get(x) ~~ x.ivar; value from an object. Examples: C.ivar.get(x) ~~ x.ivar;