Skip to content

Commit

Permalink
Fixes typos (Ebazhanov#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
amarvin authored Jan 6, 2021
1 parent d51aafd commit def4db0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/python-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ return list(enumerate(college_years, 2019))
#### Q16. What is the purpose of the "self" keyword when defining or calling instance methods?

- [ ] `self` means that no other arguments are required to be passed into the method.
- [ ] There is no real purpose for the `self` method; it"s just historic computer science jargona that Python keeps to stay consistent with other programming languages.
- [x] `self` refers to the instance whose method was called`
- [ ] There is no real purpose for the `self` method; it's just historic computer science jargon that Python keeps to stay consistent with other programming languages.
- [x] `self` refers to the instance whose method was called.
- [ ] `self` refers to the class that was inherited from to create the object using `self`.

#### Q17. Which of these is NOT a characteristic of namedtuples?
Expand Down

0 comments on commit def4db0

Please sign in to comment.