From 0248a5cbcfd6f806cb02a45d4308a02d31491b0f Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Sun, 10 Apr 2016 19:50:26 -0400 Subject: [PATCH] Add methods to `__future__._Feature` --- stdlib/3/__future__.pyi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/stdlib/3/__future__.pyi b/stdlib/3/__future__.pyi index 01265e8ec..241406974 100644 --- a/stdlib/3/__future__.pyi +++ b/stdlib/3/__future__.pyi @@ -1,4 +1,8 @@ -class _Feature: ... +from sys import _version_info + +class _Feature: + def getOptionalRelease(self) -> _version_info: ... + def getMandatoryRelease(self) -> _version_info: ... absolute_import = ... # type: _Feature division = ... # type: _Feature