Corrected docstring in core.urlresolvers module.

The RegexURLResolver.resolve() method no longer returns a tuple.
It has returned a ResolverMatch object since commit e0fb90b2.
This commit is contained in:
Matt Deacalion Stevens 2015-09-21 15:50:55 +01:00 committed by Tim Graham
parent fcf494b48f
commit c07f9fef39
1 changed files with 2 additions and 3 deletions

View File

@ -2,9 +2,8 @@
This module converts requested URLs to callback view functions. This module converts requested URLs to callback view functions.
RegexURLResolver is the main class here. Its resolve() method takes a URL (as RegexURLResolver is the main class here. Its resolve() method takes a URL (as
a string) and returns a tuple in this format: a string) and returns a ResolverMatch object which provides access to all
attributes of the resolved URL match.
(view_function, function_args, function_kwargs)
""" """
from __future__ import unicode_literals from __future__ import unicode_literals