micro-manager / pymmcore

Python bindings for MMCore, Micro-Manager's device control layer
https://pypi.org/project/pymmcore/
GNU Lesser General Public License v2.1
33 stars 8 forks source link

add string literals to stub #83

Closed tlambert03 closed 1 year ago

tlambert03 commented 1 year ago

(No urgency for a new release here @marktsuchida)

This just adds a little convenience to the stubs, that lets you see the string literal value of the g_ global strings without having to open up a terminal and print it, or look at the MMCore source code:

Screen Shot 2023-08-19 at 12 14 21 PM

It does add the possibility that they go out of sync, but that's not a "new" problem for the stubs in general, and the "cost" is rather minimal (won't affect anything at runtime)