mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-10 07:41:51 +08:00
removed some merge conflicts again
This commit is contained in:
10
builtin.py
10
builtin.py
@@ -200,6 +200,12 @@ elif current.arr_type == parsing.Array.DICT:
|
||||
result.append(__builtin__.dict())
|
||||
"""
|
||||
|
||||
class Builtin(object):
|
||||
class _Builtin(object):
|
||||
_builtins = Parser('__builtin__')
|
||||
scope = _builtins.parser.top
|
||||
|
||||
@property
|
||||
def scope(self):
|
||||
return self._builtins.parser.top
|
||||
|
||||
|
||||
Builtin = _Builtin()
|
||||
|
||||
7
test.py
7
test.py
@@ -130,11 +130,7 @@ import time
|
||||
class c1():
|
||||
c2,c5 = c1(), c1().c3()
|
||||
def c3(self):
|
||||
<<<<<<< HEAD
|
||||
import os as c4 #from parsing import Scope as c4
|
||||
=======
|
||||
import tokenize as c4 #from parsing import Scope as c4
|
||||
>>>>>>> 118908f3118ef557502dd35ca10a98ca547f3ce1
|
||||
c5 = c4
|
||||
c5 = 1
|
||||
return c5+1+'asdf'
|
||||
@@ -149,7 +145,4 @@ asdf = c1; asdf2 = asdf
|
||||
b= asdf2
|
||||
#import parsing as test
|
||||
c = b().c3()
|
||||
<<<<<<< HEAD
|
||||
c = "a".join([1,2])
|
||||
=======
|
||||
>>>>>>> 118908f3118ef557502dd35ca10a98ca547f3ce1
|
||||
|
||||
Reference in New Issue
Block a user