Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
TYP: Add overloads for FT2Font.get_sfnt_table#26540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Stubtest does not like that the typeddicts are "public", as it sees them and not included at runtime. Youmay be able to fix this with Prefixing the class names with Alternatively, you could define the Typed Dicts in a private module and import them. |
It is in fact a read-only property, not a method.
Making them private seems the simplest, and still seems to work for mathtext. |
…540-on-v3.8.xBackport PR#26540 on branch v3.8.x (TYP: Add overloads for FT2Font.get_sfnt_table)
PR summary
This may be perhaps a bit overboard, but I don't expect these dictionaries to change structure very often.
Also, fix type of
Glyph.bbox
, which is a property, not a method.PR checklist