mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 04:11:28 +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:
committed by
GitHub
parent
c1692130fd
commit
bd7b74a316
@@ -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