Lines Matching defs:func
4373 def func(x): ...
4374 self.assertIs(func, final(func))
4378 def func(): ...
4381 self.assertIs(True, func.__final__)
4385 __slots__ = ("func",)
4386 def __init__(self, func):
4387 self.func = func
4389 return self.func(*args, **kwargs)
4915 def magic_decorator(func):
4916 return func
5212 def func(self: 'ForRefExample'):
5326 self.assertEqual(gth(ForRefExample.func), expects)
7517 func: Callable["P", int]
7521 self.assertEqual(gth(C, globals(), locals()), {"func": Callable[P, int]})