def multi_constructor_pkl(loader, tag_suffix, node):
 global additional_environ
 if ((tag_suffix != '') and (tag_suffix != u'')):
  raise AssertionError((('Expected tag_suffix to be "" but it is "' + tag_suffix) + '": Put space between !pkl: and the filename.'))
 mapping = loader.construct_yaml_str(node)
 obj = serial.load(preprocess(mapping, additional_environ))
 proxy = Proxy(callable=do_not_recurse, positionals=(), keywords={'value': obj}, yaml_src=yaml.serialize(node))
 return proxy

def multi_constructor_pkl ( loader , tag_suffix , node ) : global additional_environ if ( ( tag_suffix != '' ) and ( tag_suffix != u'' ) ) : raise AssertionError ( ( ( 'Expected tag_suffix to be "" but it is "' + tag_suffix ) + '": Put space between !pkl: and the filename.' ) ) mapping = loader . construct_yaml_str ( node ) obj = serial . load ( preprocess ( mapping , additional_environ ) ) proxy = Proxy ( callable = do_not_recurse , positionals = ( ) , keywords = { 'value' : obj } , yaml_src = yaml . serialize ( node ) ) return proxy
callback used by pyyaml when a "!pkl:" tag is encountered .