Searched refs:cls_name (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Lib/ |
D | pprint.py | 196 cls_name = object.__class__.__name__ 197 indent += len(cls_name) + 1 199 stream.write(cls_name + '(') 365 cls_name = 'namespace' 367 cls_name = object.__class__.__name__ 368 indent += len(cls_name) + 1 370 stream.write(cls_name + '(')
|
D | enum.py | 44 def _is_private(cls_name, name): argument 46 pattern = '_%s__' % (cls_name, )
|
D | dataclasses.py | 1334 def make_dataclass(cls_name, fields, *, bases=(), namespace=None, init=True, argument 1398 cls = types.new_class(cls_name, bases, {}, exec_body_callback)
|
/third_party/python/Lib/email/ |
D | headerregistry.py | 256 def _reconstruct_header(cls_name, bases, value): argument 257 return type(cls_name, bases, {})._reconstruct(value)
|
/third_party/python/Lib/test/libregrtest/ |
D | runtest_mp.py | 510 cls_name = d.pop("__test_result__") 512 if cls.__name__ == cls_name:
|
/third_party/python/Doc/library/ |
D | dataclasses.rst | 374 .. function:: make_dataclass(cls_name, fields, *, bases=(), namespace=None, init=True, repr=True, e… 376 Creates a new dataclass with name ``cls_name``, fields as defined
|