Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lcmgen python: remove py 2 cStringIO compatibility
Python 2 support has been dropped so the `try ... execpt` of the py 2 module can be removed. `import cStringIO.StringIO as BytesIO` was confusing pylance with `Module is not callable`. Therefore it couldn't determain that `encode` returned `bytes`.
- Loading branch information