In web2py when i redefine a function, it does not overwrite the
function...is this by design? See the example below:
In [39] : def add(v):
return v+2
In [40] : print add(5)
7
In [41] : def add(v):
return v+5
In [42] : print add(5)
7
--
If you are using the web shell (on admin interface), yes there is a bug
with this.
But in a normal console it does not happens.
--
ok noted!
On Mon, Dec 31, 2012 at 4:52 PM, Bruno Rocha rochacbr...@gmail.com wrote:
If you are using the web shell (on admin interface), yes there is a bug
with this.
But in a normal console it does not happens.
--
--
3 matches
Mail list logo