Skip to content

Commit ed5e7b0

Browse files
Update docs/python-extensive/oop.md
Co-authored-by: Jakob Klotz <jakob.klotz@mci.edu>
1 parent bd64cd2 commit ed5e7b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/python-extensive/oop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ print(hero.health)
6161
- **Methods**: Functions defining an object's behavior (e.g., attack, heal, talk).
6262

6363
Let's add a method:
64-
```python
64+
```python hl_lines="6 7 10"
6565
class GameCharacter:
6666
def __init__(self, name, health):
6767
self.name = name

0 commit comments

Comments
 (0)