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 +```