kenta-shimizu / pysemisecs

This package is SEMI-SECS-communicate implementation on Python3.
Apache License 2.0
31 stars 12 forks source link

CallbackQueuing invalid syntax #1

Closed dmrossman closed 3 years ago

dmrossman commented 3 years ago

This is my first time entering an issue on GitHub, so please excuse my lack of experience. I tried to use the secs.py code in the simple directory. On line 2362 I get an invalid syntax for CallbackQueuing(self._rpm_cb) as pmq. PyCharm is suggesting that CallbackQueuing doesn't specify the return value of the CallbackQueuing init method?

kenta-shimizu commented 3 years ago

Thank for issue report.

Maybe, this work over version 3.9 currently. I plan to fix. This repository assumes version 3.7. I didn't know that 'with statement' use with '()' is work over version 3.9.

Thanks regards.

kenta-shimizu commented 3 years ago

fixed.

dmrossman commented 3 years ago

Thanks! No syntax errors. I will give the code a try. Thanks for the quick fix and best regards.