From 1fc7c441977b846baa91de0aec7d85ea3c35a3f6 Mon Sep 17 00:00:00 2001 From: Kiran Jonnalagadda Date: Tue, 29 Aug 2017 12:57:48 +0530 Subject: [PATCH] Fix documentation error --- coaster/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/coaster/utils.py b/coaster/utils.py index 1ceadb46..c5c04def 100644 --- a/coaster/utils.py +++ b/coaster/utils.py @@ -589,8 +589,7 @@ def my_func(this=None, that=None, other=None): require_one_of(this=this, that=that) # If we need to know which parameter was passed in: - which = require_one_of(True, this=this, that=that) - # `which` will be one of 'this' or 'that' + param, value = require_one_of(True, this=this, that=that) # Carry on with function logic pass