mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 04:34:33 +08:00
Add Restart to pdb.pyi (#2805)
Add `Restart` class to `pdb.pyi`, which has no internal implementation.
This commit is contained in:
1 parent
306b4694ae
commit
68a9b0ac12
1 file changed
+2
@@ -3,6 +3,8 @@
|
||||
import sys
|
||||
from typing import Any, Dict, Optional
|
||||
|
||||
class Restart(Exception): ...
|
||||
|
||||
def run(statement: str, globals: Optional[Dict[str, Any]] = ...,
|
||||
locals: Optional[Dict[str, Any]] = ...) -> None: ...
|
||||
def runeval(expression: str, globals: Optional[Dict[str, Any]] = ...,
|
||||
|
||||
Reference in new issue
Block a user