From 8ead4e55a79706f3f9ede198bcc73f55a5e25bc5 Mon Sep 17 00:00:00 2001 From: Jae Yung Kim Date: Fri, 13 Jun 2025 09:53:12 +0100 Subject: [PATCH] Update python_oop.md "instance data and functions" together are called attributes, not methods. I believe methods are just the function part. --- lectures/python_oop.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lectures/python_oop.md b/lectures/python_oop.md index 68c439a9..14d4403f 100644 --- a/lectures/python_oop.md +++ b/lectures/python_oop.md @@ -192,7 +192,7 @@ In our example, an *instance* will be the name of particular *person* whose *in In our example, two functions `earn` and `spend` can be applied to the current instance data. -Taken together, the instance data and functions are called *methods*. +Taken together, the instance data and functions are called *attributes*. These can be readily accessed in ways that we shall describe now. @@ -894,4 +894,4 @@ class Polynomial: ``` ```{solution-end} -``` \ No newline at end of file +```