From c07f9fef398a21a76d350e8b02b396b3e580b751 Mon Sep 17 00:00:00 2001 From: Matt Deacalion Stevens Date: Mon, 21 Sep 2015 15:50:55 +0100 Subject: [PATCH] Corrected docstring in core.urlresolvers module. The RegexURLResolver.resolve() method no longer returns a tuple. It has returned a ResolverMatch object since commit e0fb90b2. --- django/core/urlresolvers.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/django/core/urlresolvers.py b/django/core/urlresolvers.py index 3554878865..1355f29f3c 100644 --- a/django/core/urlresolvers.py +++ b/django/core/urlresolvers.py @@ -2,9 +2,8 @@ This module converts requested URLs to callback view functions. RegexURLResolver is the main class here. Its resolve() method takes a URL (as -a string) and returns a tuple in this format: - - (view_function, function_args, function_kwargs) +a string) and returns a ResolverMatch object which provides access to all +attributes of the resolved URL match. """ from __future__ import unicode_literals