Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/snippets: fix error in case .pyc files of snippets are prese…
…nt. Fixes #35 The code assumed that module.__file__ points to the source, but it points to the .pyc file in case it exists. Use inspect.getsource() instead.
- Loading branch information