Lines Matching refs:state
225 state = data.__getstate__()
227 state = data.__dict__.copy()
228 return self.represent_mapping(tag, state, flow_style=flow_style)
299 # (function, args, state, listitems, dictitems)
301 # For reconstructing, we calls function(*args), then set its state,
323 function, args, state, listitems, dictitems = reduce
325 if state is None:
326 state = {}
341 and isinstance(state, dict) and newobj:
343 'tag:yaml.org,2002:python/object:'+function_name, state)
345 and isinstance(state, dict) and not state:
350 if state or not isinstance(state, dict):
351 value['state'] = state