Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tabs instead of spaces in exercise 4.5 #187

Open
lethargosapatheia opened this issue Feb 16, 2025 · 0 comments
Open

tabs instead of spaces in exercise 4.5 #187

lethargosapatheia opened this issue Feb 16, 2025 · 0 comments

Comments

@lethargosapatheia
Copy link

Here:
https://github.com/dabeaz-course/practical-python/blob/master/Notes/04_Classes_objects/02_Inheritance.md#exercise-45-an-extensibility-problem

There are tabs before the "raise" directives instead of spaces. I've come across this randomly when I saw that forgejo was displaying it differently (made it look like they were part of the class definitions) than on github. So you cannot copy/paste that code and use it as such. Which I generally don't do anyway, but in this case it was really misleading, because I thought the 'raise' directives were intentionally part of the class methods/definitions for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant