mirror of https://github.com/lukechilds/node.git
Browse Source
In Python, the default values of parameters are evaluated only once during their declaration. So, whenever the default parameter is used the same object will be used. Since we use a list, which is a mutable object, this could lead to unexpected results. PR-URL: https://github.com/nodejs/node/pull/2553 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>v5.x
Sakthipriyan Vairamani
9 years ago
1 changed files with 14 additions and 8 deletions
Loading…
Reference in new issue