Skip to content

Commit

Permalink
Merge 22101f1 into 6313b5a
Browse files Browse the repository at this point in the history
  • Loading branch information
zapstar committed Apr 8, 2019
2 parents 6313b5a + 22101f1 commit c960159
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/index.rst
Expand Up @@ -24,11 +24,13 @@ Python constructs, as seen in the following example::
def func(first, second):
return first + second

func(first, second)
arg_1 = 2
arg_2 = 3
func(arg_1, arg_2)
''')
>>> module.body[-1]
<Expr l.3 at 0x10ab46f28>
>>> inferred = next(a.body[-1].value.infer())
>>> inferred = next(module.body[-1].value.infer())
>>> inferred
<Const.int l.None at 0x10ab00588>
>>> inferred.value
Expand Down

0 comments on commit c960159

Please sign in to comment.