Lines Matching refs:spam
170 spam = "local spam"
173 nonlocal spam
174 spam = "nonlocal spam"
177 global spam
178 spam = "global spam"
180 spam = "test spam"
182 print("After local assignment:", spam)
184 print("After nonlocal assignment:", spam)
186 print("After global assignment:", spam)
189 print("In global scope:", spam)
195 After local assignment: test spam
196 After nonlocal assignment: nonlocal spam
197 After global assignment: nonlocal spam
198 In global scope: global spam
201 binding of *spam*. The :keyword:`nonlocal` assignment changed *scope_test*\'s
202 binding of *spam*, and the :keyword:`global` assignment changed the module-level
205 You can also see that there was no previous binding for *spam* before the
835 >>> rev = Reverse('spam')