From ffd1b871d0c0f6e685b1bda7b7469b49952d1477 Mon Sep 17 00:00:00 2001 From: Sergei Izmailov Date: Mon, 23 Oct 2023 15:09:11 +0900 Subject: [PATCH] fix: Buffer import name --- pybind11_stubgen/parser/mixins/fix.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pybind11_stubgen/parser/mixins/fix.py b/pybind11_stubgen/parser/mixins/fix.py index acbd3d0..37b476f 100644 --- a/pybind11_stubgen/parser/mixins/fix.py +++ b/pybind11_stubgen/parser/mixins/fix.py @@ -355,6 +355,7 @@ class FixTypingTypeNames(IParser): map( Identifier, [ + "buffer", "Buffer", ], )