mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-18 03:51:24 +08:00
gdb: add missing automatic imports (#8788)
When GDB has just started, several `gdb` submodules are automatically loaded, so user code does not have to manually import them (for instance `import gdb.events`). Reflect that in `gdb` stubs.
This commit is contained in:
1 parent
c1692130fd
commit
bd7b74a316
1 file changed
+3
@@ -10,6 +10,9 @@ from typing_extensions import TypeAlias
|
||||
|
||||
import gdb.types
|
||||
|
||||
# The following submodules are automatically imported
|
||||
from . import events as events, printing as printing, prompt as prompt, types as types
|
||||
|
||||
# Basic
|
||||
|
||||
PYTHONDIR: str
|
||||
|
||||
Reference in new issue
Block a user