From 68a9b0ac1226f6f6171fbf5da81823b61cf60fd0 Mon Sep 17 00:00:00 2001 From: Matt Robinson Date: Thu, 21 Feb 2019 06:30:14 -0800 Subject: [PATCH] Add Restart to pdb.pyi (#2805) Add `Restart` class to `pdb.pyi`, which has no internal implementation. --- stdlib/2and3/pdb.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/2and3/pdb.pyi b/stdlib/2and3/pdb.pyi index f70a9a439..d63eaf0a6 100644 --- a/stdlib/2and3/pdb.pyi +++ b/stdlib/2and3/pdb.pyi @@ -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]] = ...,