Closed fridex closed 7 years ago
dill is used for getting source code from imported predicates. This source code is after that parsed to get names of arguments to decide what arguments predicates accept. This step can be simplified by using:
fun.__code__.co_varnames[:fun.__code__.co_argcount]
dill is used for getting source code from imported predicates. This source code is after that parsed to get names of arguments to decide what arguments predicates accept. This step can be simplified by using: