Date: 2006-08-28 10:21 am (UTC)
f=["stand"]
global_f = f
def jump():
f = ["jump"]
upvar_f = f
def kick():
f = ["kick"]
upvar_f.extend(f)
kick()
global_f.extend(f)
jump()
print f

не думаю что лучше было бы что-то вроде ../f = f + ../../f * /f
название - самая сложная вещь, но нужная.. :)
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

netch: (Default)
netch

December 2023

S M T W T F S
     12
3456789
10111213141516
171819 20212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 22nd, 2026 01:53 pm
Powered by Dreamwidth Studios