From 172eaa3f8977d6e763af4096d82a69bc361a9a96 Mon Sep 17 00:00:00 2001 From: Liam Huber Date: Tue, 28 May 2024 09:07:02 -0700 Subject: [PATCH] Update snippets/deprecate.py Co-authored-by: Sam Dareska <37879103+samwaseda@users.noreply.github.com> --- snippets/deprecate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/deprecate.py b/snippets/deprecate.py index 56c212b..3aecc60 100644 --- a/snippets/deprecate.py +++ b/snippets/deprecate.py @@ -166,7 +166,7 @@ def wrap(self, function): function is called with keyword arguments found in that dictionary. Args: - function (function): function to mark as deprecated + function (callable): function to mark as deprecated Return: function: raises DeprecationWarning when given function is called