Skip to content

Commit 2f70e1d

Browse files
committed
Getattr
1 parent d765b12 commit 2f70e1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ Introspection and Metaprograming
990990
>>> vars(z)
991991
{'a': 'abcde', 'b': 12345}
992992

993-
>>> getattr(z, 'a') # Same as Z.__getattribute__(z, 'a')
993+
>>> getattr(z, 'a')
994994
'abcde'
995995

996996
>>> hasattr(z, 'c')

0 commit comments

Comments
 (0)