parent
b20f65587a
commit
c1d142ef7b
@ -1,24 +0,0 @@
|
||||
From 4fa671b4afdde8e103a03b39dcdc66e1a10a16fa Mon Sep 17 00:00:00 2001
|
||||
From: Adam Dangoor <adamdangoor@gmail.com>
|
||||
Date: Mon, 31 Jul 2017 17:58:41 +0100
|
||||
Subject: [PATCH 1/3] Remove outdated comment about Click 3.0
|
||||
|
||||
---
|
||||
click/core.py | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/click/core.py b/click/core.py
|
||||
index 7456451..18fa9a5 100644
|
||||
--- a/click/core.py
|
||||
+++ b/click/core.py
|
||||
@@ -68,7 +68,6 @@ def invoke_param_callback(callback, ctx, param, value):
|
||||
args = getattr(code, 'co_argcount', 3)
|
||||
|
||||
if args < 3:
|
||||
- # This will become a warning in Click 3.0:
|
||||
from warnings import warn
|
||||
warn(Warning('Invoked legacy parameter callback "%s". The new '
|
||||
'signature for such callbacks starting with '
|
||||
--
|
||||
2.14.2
|
||||
|
Loading…
Reference in new issue