Skip to content

Instantly share code, notes, and snippets.

@ojii
Created January 19, 2019 15:17
Show Gist options
  • Save ojii/3d6435116873d116bf8c66422c1b9a5d to your computer and use it in GitHub Desktop.
Save ojii/3d6435116873d116bf8c66422c1b9a5d to your computer and use it in GitHub Desktop.
class A:
def a(self):
class __B:
def __b(self):
print("B")
_A__B()._B__b()
A().a()
class A:
def a(self):
import sys as __sys
print(_A__sys.version)
A().a()
class A:
def a(self):
def __b():
print("Bee")
_A__b()
A().a()
class A:
import sys as __sys
print(_A__sys.version)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment