def add_implicit_resolver(tag, regexp, first=None, Loader=Loader, Dumper=Dumper):
 Loader.add_implicit_resolver(tag, regexp, first)
 Dumper.add_implicit_resolver(tag, regexp, first)

def add_implicit_resolver ( tag , regexp , first = None , Loader = Loader , Dumper = Dumper ) : Loader . add_implicit_resolver ( tag , regexp , first ) Dumper . add_implicit_resolver ( tag , regexp , first )
add an implicit scalar detector .