def _CopyProperties(target_dict, source_dict):
 for (key, value) in source_dict['properties'].items():
  assert ((key not in target_dict['properties']) or (target_dict['properties'][key] == value)), (source_dict, target_dict)
  target_dict['properties'][key] = deepcopy(value)

def _CopyProperties ( target_dict , source_dict ) : for ( key , value ) in source_dict [ 'properties' ] . items ( ) : assert ( ( key not in target_dict [ 'properties' ] ) or ( target_dict [ 'properties' ] [ key ] == value ) ) , ( source_dict , target_dict ) target_dict [ 'properties' ] [ key ] = deepcopy ( value )
deep copies properties in source_dict[properties] to target_dict[properties] .