From 34ce7abe2f0cf8fe84755837db71d07a85aca975 Mon Sep 17 00:00:00 2001 From: Andrey Vlasovskikh Date: Tue, 5 Feb 2013 16:36:57 +0400 Subject: [PATCH] Fixed str.format() return type for Python 3 (PY-7684) --- python/helpers/StdlibTypes3.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/helpers/StdlibTypes3.properties b/python/helpers/StdlibTypes3.properties index 26712128c7db..11c642c8d5b5 100644 --- a/python/helpers/StdlibTypes3.properties +++ b/python/helpers/StdlibTypes3.properties @@ -249,6 +249,9 @@ __builtin__.str.find = \ :type end: int or long or None \n\ :rtype: int or long \n\ +__builtin__.str.format = \ + :rtype: str \n\ + __builtin__.str.index = \ :type sub: str \n\ :type start: int or long or None \n\