compatibility improvements -> use reduce from functools

This commit is contained in:
Dave Halter
2014-01-14 11:31:01 +01:00
parent 8bf8985247
commit a6e49f2680
3 changed files with 6 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ from __future__ import with_statement
import os
import re
from jedi._compatibility import reduce
from functools import reduce
import jedi
from jedi import refactoring

View File

@@ -101,7 +101,8 @@ import re
from ast import literal_eval
import jedi
from jedi._compatibility import unicode, reduce, StringIO, is_py3k
from functools import reduce
from jedi._compatibility import unicode, StringIO, is_py3k
TEST_COMPLETIONS = 0