From: Serhiy Storchaka <storchaka@gmail.com>
Date: Wed, 28 Oct 2015 19:43:12 +0000 (+0200)
Subject: Issue #21827: Fixed textwrap.dedent() for the case when largest common
X-Git-Tag: v3.5.1rc1~121
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8152c67f52874cd4aa63f1cb3e1216382f98057;p=python

Issue #21827: Fixed textwrap.dedent() for the case when largest common
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
---

f8152c67f52874cd4aa63f1cb3e1216382f98057
diff --cc Misc/NEWS
index 7e7534da50,3d4cbcb578..638964ec36
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@@ -45,10 -96,12 +45,14 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #21827: Fixed textwrap.dedent() for the case when largest common
+   whitespace is a substring of smallest leading whitespace.
+   Based on patch by Robert Li.
+ 
 -- Issue #25471: Sockets returned from accept() shouldn't appear to be
 -  nonblocking.
 +- Issue #25447: The lru_cache() wrapper objects now can be copied and pickled
 +  (by returning the original object unchanged).
 +
 +- Issue #25390: typing: Don't crash on Union[str, Pattern].
  
  - Issue #25441: asyncio: Raise error from drain() when socket is closed.