cc-4105: clarified comment
This commit is contained in:
parent
4a94c55e3c
commit
ff56ce3797
|
@ -52,8 +52,7 @@ class FileMediator(object):
|
||||||
for skip in what_to_skip:
|
for skip in what_to_skip:
|
||||||
# standard nasty hack, too long to explain completely in comments but
|
# standard nasty hack, too long to explain completely in comments but
|
||||||
# the gist of it is:
|
# the gist of it is:
|
||||||
# 1. python's scoping rules are shitty and unintuitive (no "true"
|
# 1. python's scoping rules are sometimes strange.
|
||||||
# lexical scoping)
|
|
||||||
# 2. workaround is very similar to what you do in javascript when
|
# 2. workaround is very similar to what you do in javascript when
|
||||||
# you write stuff like (function (x,y) { console.log(x+y); })(2,4)
|
# you write stuff like (function (x,y) { console.log(x+y); })(2,4)
|
||||||
# to be avoid clobbering peoples' namespace.
|
# to be avoid clobbering peoples' namespace.
|
||||||
|
|
Loading…
Reference in New Issue