Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8e4ddcf

Browse files
committed
#10122: typo fix.
1 parent a40453d commit 8e4ddcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ are always available. They are listed here in alphabetical order.
447447

448448
.. function:: getattr(object, name[, default])
449449

450-
Return the value of the named attributed of *object*. *name* must be a string.
450+
Return the value of the named attribute of *object*. *name* must be a string.
451451
If the string is the name of one of the object's attributes, the result is the
452452
value of that attribute. For example, ``getattr(x, 'foobar')`` is equivalent to
453453
``x.foobar``. If the named attribute does not exist, *default* is returned if

0 commit comments

Comments
 (0)