We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
USBFramebuffer
__new__
__init__
1 parent 0f94cc5 commit 839bbd3Copy full SHA for 839bbd3
1 file changed
shared-bindings/usb_video/USBFramebuffer.c
@@ -31,7 +31,7 @@ static void check_for_deinit(usb_video_uvcframebuffer_obj_t *self) {
31
//| it also supports the ``WritableBuffer`` protocol and can be accessed
32
//| as an array of ``H`` (unsigned 16-bit values)."""
33
//|
34
-//| def __new__(self) -> USBFramebuffer:
+//| def __init__(self) -> None:
35
//| """Returns the singleton framebuffer object, if USB video is enabled"""
36
static mp_obj_t usb_video_uvcframebuffer_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args) {
37
static const mp_arg_t allowed_args[] = {};
0 commit comments