mirror of https://github.com/python/cpython
py-cvs-rel2_1 (Rev 1.8) merge - whitespace normalization
This commit is contained in:
parent
a1d545523d
commit
ae67647ab7
|
@ -45,7 +45,7 @@ class CallTips:
|
||||||
if self.calltip:
|
if self.calltip:
|
||||||
self.calltip.hidetip()
|
self.calltip.hidetip()
|
||||||
self.calltip = None
|
self.calltip = None
|
||||||
|
|
||||||
def paren_open_event(self, event):
|
def paren_open_event(self, event):
|
||||||
self._remove_calltip_window()
|
self._remove_calltip_window()
|
||||||
arg_text = get_arg_text(self.get_object_at_cursor())
|
arg_text = get_arg_text(self.get_object_at_cursor())
|
||||||
|
@ -91,9 +91,9 @@ class CallTips:
|
||||||
namespace = sys.modules.copy()
|
namespace = sys.modules.copy()
|
||||||
namespace.update(__main__.__dict__)
|
namespace.update(__main__.__dict__)
|
||||||
try:
|
try:
|
||||||
return eval(word, namespace)
|
return eval(word, namespace)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
return None # Can't find an object.
|
return None # Can't find an object.
|
||||||
|
|
||||||
def _find_constructor(class_ob):
|
def _find_constructor(class_ob):
|
||||||
|
|
Loading…
Reference in New Issue