1
0
forked from VimPlug/jedi

removed from 'from __future__ import with_statement' imports, they are not needed anymore (python 2.5 is no longer supported)

This commit is contained in:
Dave Halter
2014-01-07 17:46:22 +01:00
parent 73aeee6919
commit 1a3541e3aa
7 changed files with 0 additions and 13 deletions

View File

@@ -8,8 +8,6 @@ possible.
.. warning:: Please, note that Jedi is **not thread safe**. .. warning:: Please, note that Jedi is **not thread safe**.
""" """
from __future__ import with_statement
import re import re
import os import os
import warnings import warnings

View File

@@ -13,8 +13,6 @@ This module is one of the reasons why |jedi| is not thread-safe. As you can see
there are global variables, which are holding the cache information. Some of there are global variables, which are holding the cache information. Some of
these variables are being cleaned after every API usage. these variables are being cleaned after every API usage.
""" """
from __future__ import with_statement
import time import time
import os import os
import sys import sys

View File

@@ -68,8 +68,6 @@ backtracking algorithm.
.. todo:: nonlocal statement, needed or can be ignored? (py3k) .. todo:: nonlocal statement, needed or can be ignored? (py3k)
""" """
from __future__ import with_statement
import sys import sys
import itertools import itertools

View File

@@ -21,7 +21,6 @@ possible to access functions like ``list`` and ``int`` directly, the same way
|jedi| access other functions. |jedi| access other functions.
""" """
from __future__ import with_statement
from jedi._compatibility import exec_function, is_py3k from jedi._compatibility import exec_function, is_py3k
import re import re

View File

@@ -11,8 +11,6 @@ correct implementation is delegated to _compatibility.
This module also supports import autocompletion, which means to complete This module also supports import autocompletion, which means to complete
statements like ``from datetim`` (curser at the end would return ``datetime``). statements like ``from datetim`` (curser at the end would return ``datetime``).
""" """
from __future__ import with_statement
import os import os
import pkgutil import pkgutil
import sys import sys

View File

@@ -33,8 +33,6 @@ statements in this scope. Check this out:
See also :attr:`Scope.subscopes` and :attr:`Scope.statements`. See also :attr:`Scope.subscopes` and :attr:`Scope.statements`.
""" """
from __future__ import with_statement
import os import os
import re import re
from inspect import cleandoc from inspect import cleandoc

View File

@@ -12,8 +12,6 @@ following functions (sometimes bug-prone):
- extract variable - extract variable
- inline variable - inline variable
""" """
from __future__ import with_statement
import difflib import difflib
from jedi import common from jedi import common