Commit fa47dd7e authored by Georg Brandl's avatar Georg Brandl

#10122: typo fix.

parent 7193b6e2
...@@ -447,7 +447,7 @@ are always available. They are listed here in alphabetical order. ...@@ -447,7 +447,7 @@ are always available. They are listed here in alphabetical order.
.. function:: getattr(object, name[, default]) .. function:: getattr(object, name[, default])
Return the value of the named attributed of *object*. *name* must be a string. Return the value of the named attribute of *object*. *name* must be a string.
If the string is the name of one of the object's attributes, the result is the If the string is the name of one of the object's attributes, the result is the
value of that attribute. For example, ``getattr(x, 'foobar')`` is equivalent to value of that attribute. For example, ``getattr(x, 'foobar')`` is equivalent to
``x.foobar``. If the named attribute does not exist, *default* is returned if ``x.foobar``. If the named attribute does not exist, *default* is returned if
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment