From 787e42346819482a472203901309409ed60535fe Mon Sep 17 00:00:00 2001 From: Daniel Li Date: Mon, 22 May 2017 18:53:04 -0400 Subject: [PATCH] Annotate textwrap.dedent (#1295) --- stdlib/2/textwrap.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/2/textwrap.pyi b/stdlib/2/textwrap.pyi index 477cab9b7..df8afa624 100644 --- a/stdlib/2/textwrap.pyi +++ b/stdlib/2/textwrap.pyi @@ -1,4 +1,4 @@ -from typing import Any +from typing import Any, AnyStr class _unicode: ... @@ -26,4 +26,4 @@ class TextWrapper: def wrap(text, width=..., **kwargs): ... def fill(text, width=..., **kwargs): ... -def dedent(text): ... +def dedent(text: AnyStr) -> AnyStr: ...