#! /usr/local/bin/python3 class Foo: xx = 100 x = 1 def xxx(x=xx): return x print(x) v = Foo.xxx() print(v)