pyglet is a cross-platform windowing and multimedia library for Python, for developing games and other visually rich applications.
BSD 3-Clause "New" or "Revised" License
1.78k
stars
294
forks
source link
Doc and typing improvements for pyglet.libs.darwin #1108
Closed
pushfoo closed 2 weeks ago
TL;DR:
Current changes
(1/4) Turn prior feedback from @caffeinepills into committed code
I've included some older Disocrd feedback by:
pyglet.lib
:ctypes
items(2/4) Partly document and annotate
pyglet.libs.darwin.cocoapy.runtime
TL;DR: Doc, annotations, and signature upgrade make some code legible
pyglet.libs.darwin.runtime
send_message
:argtypes
kwargs.get
TypeVar
for the result response typemypy
isn't perfectly happy, but that seems okay. It's unhappy with other things too.(3/4) Comments, annotations, and a bonus Exception type for
coreaudio.py
CoreAudioException
(4/4) Quartzkeys doc
Mostly just organization and aesthetics