From: Georg Brandl Date: Sat, 16 Oct 2010 18:51:05 +0000 (+0000) Subject: #10122: typo fix. X-Git-Tag: v3.2a4~527 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e4ddcfaeae40ae0ef8609d31a19efd665f7b40d;p=thirdparty%2FPython%2Fcpython.git #10122: typo fix. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 42e4269ace40..de99bbff7454 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -447,7 +447,7 @@ are always available. They are listed here in alphabetical order. .. 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 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