← Projects

Update 00-Undertanding-Classes.py

f02e66914aeef38eff61de174f9715eef2f5b85f · Ovidiu Constantinescu · May 21, 2015 23:57

+5 −1 · 1 file changed

  • 00-Undertanding-Classes.py +5 −1
diff --git a/00-Undertanding-Classes.py b/00-Undertanding-Classes.py
index 4095c54..9f652d5 100644
--- a/00-Undertanding-Classes.py
+++ b/00-Undertanding-Classes.py
@@ -33,4 +33,8 @@ print type(a), type(a.r), type(a.i), a.r, a.i
 # print initargu.r
 
 # TypeError: __init__() takes exactly 3 arguments (1 given)
-# print initargu().r
\ No newline at end of file
+# print initargu().r
+"""
+The only operations understood by instance objects are attribute references.
+There are two kinds of valid attribute names, data attributes and methods.
+"""