Replies: 1 comment
-
Hey - it's mainly a style thing - I come from a C++ / C / Assembly background, so once I moved over to Python, I constantly need to close up It's not normal Python, but the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone!
Throughout the codebase I see the usage of
pass
keyword that looks to me as a visual closing bracket. Example fromunsloth.kernels.__init__.py
:I have never seen anyone use anything like that in Python before. Could you, please, refer to a PEP that recommends such usage and elaborate the benefits of issuing this statement after every code block?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions