MCPcopy Index your code
hub / github.com/python/cpython / _fields_in_init_order

Function _fields_in_init_order

Lib/dataclasses.py:415–421  ·  view source on GitHub ↗
(fields)

Source from the content-addressed store, hash-verified

413
414
415def _fields_in_init_order(fields):
416 # Returns the fields as __init__ will output them. It returns 2 tuples:
417 # the first for normal args, and the second for keyword args.
418
419 return (tuple(f for f in fields if f.init and not f.kw_only),
420 tuple(f for f in fields if f.init and f.kw_only)
421 )
422
423
424def _tuple_str(obj_name, fields):

Callers 1

_process_classFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…