1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00
semantic/semantic-python/test/fixtures/2-06-nested-function-definition.py
2019-10-11 11:50:22 -04:00

8 lines
179 B
Python

# 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)