From 592bdcc8a62fc96e71a0e15dfaca75e739ad8835 Mon Sep 17 00:00:00 2001 From: rchen152 Date: Thu, 4 Jan 2018 16:15:17 -0800 Subject: [PATCH] Fix the return type of textwrap.wrap (#1813) --- stdlib/2/textwrap.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/2/textwrap.pyi b/stdlib/2/textwrap.pyi index 32a314c50..4cae3a1bc 100644 --- a/stdlib/2/textwrap.pyi +++ b/stdlib/2/textwrap.pyi @@ -46,7 +46,7 @@ def wrap( fix_sentence_endings: bool = ..., break_long_words: bool = ..., drop_whitespace: bool = ..., - break_on_hyphens: bool = ...) -> AnyStr: + break_on_hyphens: bool = ...) -> List[AnyStr]: ... def fill(