Lines Matching defs:set
881 dir_items = set(dir(Unpack[Tuple[int]]))
1734 dir_items = set(dir(Union[str, int]))
1910 dir_items = set(dir(Callable[..., int]))
2237 dir_items = set(dir(Literal[1, 2, 3]))
2740 # Check that properties set on superclasses
4084 def set(self, a: T):
4101 a.set([])
4401 def __final__(self): return "can't set me"
4404 self.assertEqual(WithMeta.__final__, "can't set me")
4406 # Builtin classes throw TypeError if you try to set an
4885 # `TypeError: can't set attributes of built-in/extension type 'dict'`
5695 self.assertIsInstance(set(), typing.AbstractSet)
5699 self.assertIsInstance(set(), typing.MutableSet)
5734 self.assertIsSubclass(set, typing.Set)
5739 self.assertNotIsSubclass(set, typing.FrozenSet)
6488 self.assertEqual(Emp.__optional_keys__, set())
6512 a = TD(cls=str, self=42, typename='foo', _typename=53, fields=[('bar', tuple)], _fields={'baz', set})
6518 self.assertEqual(a['_fields'], {'baz', set})
7048 self.assertEqual(set(__all__), set(['IO', 'TextIO', 'BinaryIO']))
7102 self.assertEqual(set(__all__), set(['Match', 'Pattern']))
7136 dir_items = set(dir(Annotated[int, 4]))
7846 dir_items = set(dir(Concatenate[int, P]))
8048 # - typing.ForwardRef('set[Any]')
8070 fr = typing.ForwardRef('set[Any]')
8125 dir_items = set(dir(Foo[int]))
8254 actual_all = set(typing.__all__)