class_docstr: Specifies mappings between URLs and handlers.
  
  .. versionchanged: 4.5
     `URLSpec` is now a subclass of a `Rule` with `PathMatches` matcher and is preserved for
     backwards compatibility.
class_docstr_tok: ["Specifies","mappings","between","URLs","and","handlers",".","..","versionchanged",":","4.5","`","URLSpec","`","is","now","a","subclass","of","a","`","Rule","`","with","`","PathMatches","`","matcher","and","is","preserved","for","backwards","compatibility","."]
code: def __repr__(self):
      return "%s(%r, %s, kwargs=%r, name=%r)" % (
          self.__class__.__name__,
          self.regex.pattern,
          self.handler_class,
          self.kwargs,
          self.name,
      )
  
imports: from __future__ import absolute_import, division, print_function
  import re
  from functools import partial
  from tornado import httputil
  from tornado.httpserver import _CallableAdapter
  from tornado.escape import url_escape, url_unescape, utf8
  from tornado.log import app_log
  from tornado.util import basestring_type, import_object, re_unescape, unicode_type
label_desc: Use image node_id 2 for calling the URLSpec obj's underlying member method code with example usage: obj.__repr__() and returns: unknown