1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 16:02:43 +03:00
semantic/semantic-python/test/fixtures/2-06-nested-function-definition.py

8 lines
179 B
Python
Raw Normal View History

2019-10-11 18:50:22 +03:00
# CHECK-TREE: { const <- \a -> \b -> { identity <- \x -> x; identity a }; #record{ const: const }}
def const(a, b):
def identity(x):
return x
return identity(a)