Skip to content

Commit

Permalink
Merge pull request #8 from tylerwince/return_value
Browse files Browse the repository at this point in the history
return value of expression
  • Loading branch information
tylerwince authored Jan 25, 2019
2 parents 09d0452 + feb4f29 commit c2f2495
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pydbg.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""pydbg is an implementation of the Rust2018 builtin `dbg` for Python."""
import inspect

__version__ = "0.1.0"
__version__ = "0.2.0"


def dbg(exp):
Expand Down Expand Up @@ -31,3 +31,4 @@ def square(x: int) -> int:
f"[{i.filename}:{i.lineno}] {ctx[ctx.find('(') + 1 : ctx.rfind(')')]} = {exp}"
)
break
return exp

0 comments on commit c2f2495

Please sign in to comment.