Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#197·practical-python

Typo in chapter '5.2 Classes and Encapsulation'

Author: username31217Created Apr 24, 2026Updated Apr 24, 2026

Currently this file:

https://github.com/dabeaz-course/practical-python/blob/master/Notes/05_Object_model/02_Classes_encapsulation.md

we have next text:

Image

, but looks like should be:

python
class Person(object):
    def __init__(self, name):
        self._name = name

Source: dabeaz-course/practical-python

View original on GitHubView discussion on GitHub