You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
763 B
25 lines
763 B
7 years ago
|
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
|
||
|
|