diff options
author | Georg Brandl <georg@python.org> | 2010-10-16 18:51:05 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-16 18:51:05 (GMT) |
commit | 8e4ddcfaeae40ae0ef8609d31a19efd665f7b40d (patch) | |
tree | 9dd86bba042f7514f15c4f84ad1b05d0271ff160 | |
parent | a40453df37a14a885c2a40d97ef873ab2a9ecd4a (diff) | |
download | cpython-8e4ddcfaeae40ae0ef8609d31a19efd665f7b40d.zip cpython-8e4ddcfaeae40ae0ef8609d31a19efd665f7b40d.tar.gz cpython-8e4ddcfaeae40ae0ef8609d31a19efd665f7b40d.tar.bz2 |
#10122: typo fix.
-rw-r--r-- | Doc/library/functions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 42e4269..de99bbf 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 |