Example #1
0
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):
Example #2
0
File: run.py Project: thaolt/v0.83
 def __init__(self, rpchandler):
     self.rpchandler = rpchandler
     self.locals = __main__.__dict__
     self.calltip = CallTips.CallTips()
     self.autocomplete = AutoComplete.AutoComplete()
Example #3
0
# 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"""