Skip Navigation

Single and Double Underscores in Python Names – Real Python

realpython.com Single and Double Underscores in Python Names – Real Python

In this tutorial, you'll learn a few Python naming conventions involving single and double underscores (_). You'll learn how to use this character to differentiate between public and non-public names in APIs, write safe classes for subclassing purposes, avoid name clashes, and more.

Single and Double Underscores in Python Names – Real Python
0
0 comments