import unittest import idlelib.CallTips as ct CTi = ct.CallTips() # needed for get_entity test in 2.7 import textwrap import types import warnings default_tip = '' # Test Class TC is used in multiple get_argspec test methods class TC(object): 'doc' tip = "(ai=None, *args)" def __init__(self, ai=None, *b): 'doc' __init__.tip = "(self, ai=None, *args)" def t1(self): 'doc' t1.tip = "(self)" def t2(self, ai, b=None): 'doc' t2.tip = "(self, ai, b=None)" def t3(self, ai, *args):
def __init__(self, rpchandler): self.rpchandler = rpchandler self.locals = __main__.__dict__ self.calltip = CallTips.CallTips() self.autocomplete = AutoComplete.AutoComplete()
# 2017.08.29 21:57:11 Støední Evropa (letní èas) # Embedded file name: scripts/common/Lib/idlelib/idle_test/test_calltips.py import unittest import idlelib.CallTips as ct CTi = ct.CallTips() import textwrap import types import warnings default_tip = '' class TC(object): """doc""" tip = '(ai=None, *args)' def __init__(self, ai=None, *b): """doc""" pass __init__.tip = '(self, ai=None, *args)' def t1(self): """doc""" pass t1.tip = '(self)' def t2(self, ai, b=None): """doc"""