* Python 기본 문법 및 간단한 동작들 (링크) Comprehensive Python Cheatsheet Non-Local If variable is being assigned to anywhere in the scope, it is regarded as a local variable, unless it is declared as a 'global' or a 'nonlocal'. def get_counter(): i = 0 def out(): nonlocal i i += 1 return i return out MRO determines the order in gto76.github.io * Python 관련 라이브러리 정리 목록 (링크)