def nsUriMatch(self, value, wanted, strict=<NUM_LIT:0>, tt=type(())):
if value == wanted or (type(wanted) is tt) and value in wanted:<EOL><INDENT>return <NUM_LIT:1><EOL><DEDENT>if not strict and value is not None:<EOL><INDENT>wanted = type(wanted) is tt and wanted or (wanted,)<EOL>value = value[-<NUM_LIT:1>:] != '<STR_LIT:/>' and value or value[:-<NUM_LIT:1>]<EOL>for item in wanted:<EOL><INDENT>if item == value or item[:-<NUM_LIT:1>] == value:<EOL><INDENT>return <NUM_LIT:1><EOL><DEDENT><DEDENT><DEDENT>return <NUM_LIT:0><EOL>
Return a true value if two namespace uri values match.