[python] Creating a class within a function and access a function defined in the containing function's scope
Creating a class within a function and access a function defined in the containing function's scope