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
Global variable should not using in class method #11232
Labels
Comments
Hi, |
hi i am beginner to open source too |
Hello! Can I get the go ahead to start on fixing this issue? |
MannCode
added a commit
to MannCode/Python
that referenced
this issue
Feb 25, 2024
…ce attribute self.N instead of global variable N for better encapsulation and readability.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Repository commit
9caf478
Python version (python --version)
python3.11
Dependencies version (pip freeze)
#nop
Expected behavior
Hi, guys. I come across one global variable that used in class method. I think using instance attribute would be better !
source
Actual behavior
The text was updated successfully, but these errors were encountered: