1. Rene Peinthor
  2. CherryPy


Chris Beelby  committed efb777a

Update example call to match example URL

  • Participants
  • Parent commits ed1cd98
  • Branches default

Comments (0)

Files changed (1)

File sphinx/source/concepts/dispatching.rst

View file
  • Ignore whitespace
 So the URL ``http://localhost/blog/2005/01/17`` will be mapped as a call to::
-    root.blog.default('2005', '1', '17')
+    root.blog.default('2005', '01', '17')
 You could achieve the same effect by defining a ``__call__`` method in this
 case, but "default" just reads better. ;)