From 396d6e9a098c9c38d28da2c4e115d641ade50aaf Mon Sep 17 00:00:00 2001 From: Augie Fackler Date: Tue, 31 May 2016 21:16:18 -0400 Subject: [PATCH] os.path: isabs takes AnyStr, not just unicode --- stdlib/2.7/os/path.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/2.7/os/path.pyi b/stdlib/2.7/os/path.pyi index 99b29e5bdaf7..7cd2c4aac7c2 100644 --- a/stdlib/2.7/os/path.pyi +++ b/stdlib/2.7/os/path.pyi @@ -36,7 +36,7 @@ def getmtime(path: unicode) -> float: ... def getctime(path: unicode) -> float: ... def getsize(path: unicode) -> int: ... -def isabs(path: unicode) -> bool: ... +def isabs(path: AnyStr) -> bool: ... def isfile(path: unicode) -> bool: ... def isdir(path: unicode) -> bool: ... def islink(path: unicode) -> bool: ...