Debian Codegraph @

doc/example/remotecmd.py

raw symbols SCIP
1 import os
2
3
4 # contents of: remotecmd.py
5 def simple(arg):
6 return arg + 1
7
8
9 def listdir(path):
10 return os.listdir(path)
11
12
13 if __name__ == "__channelexec__":
14 for item in channel: # type: ignore[name-defined]
15 channel.send(eval(item)) # type: ignore[name-defined]