def register_directive(name, directive):
 _directives[name] = directive

def register_directive ( name , directive ) : _directives [ name ] = directive
register a nonstandard application-defined directive function .