diff -r c0827842102e Doc/reference/executionmodel.rst --- a/Doc/reference/executionmodel.rst Fri Jun 19 13:08:58 2015 -0700 +++ b/Doc/reference/executionmodel.rst Sat Jun 20 00:43:45 2015 +0200 @@ -144,10 +144,11 @@ in the same block. If the nearest enclosing scope for a free variable contains a global statement, the free variable is treated as a global. -A class definition is an executable statement that may use and define names. -These references follow the normal rules for name resolution. The namespace of -the class definition becomes the attribute dictionary of the class. Names -defined at the class scope are not visible in methods. +A class definition is an executable statement that may use and define names. +These references follow the normal rules for name resolution with one exception. +Unbound local variables are looked up in the global namespace. +The namespace of the class definition becomes the attribute dictionary of +the class. Names defined at the class scope are not visible in methods. .. _dynamic-features: