Skip to content

Commit

Permalink
add debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasmarti committed Nov 17, 2011
1 parent c0f07c8 commit 8501fab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocaml/app/mypython/mypython.ml
Expand Up @@ -415,6 +415,7 @@ def createValue(id):
match args with
| id::[] when Number.check id -> (
let id = Int.asLong (Int.coerce id) in
if !debug then printf "decref of %d\n" id;
if not (Hashtbl.mem registry id) then
Object.obj (Base.none ())
else
Expand Down

0 comments on commit 8501fab

Please sign in to comment.