Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bf28738

Browse files
committed
MNT : removed *args from CallbackRegistry init
Specified to be removed for 1.5
1 parent 28d3fcd commit bf28738

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lib/matplotlib/cbook.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -472,13 +472,7 @@ class CallbackRegistry(object):
472472
`"Mindtrove" blog
473473
<http://mindtrove.info/articles/python-weak-references/>`_.
474474
"""
475-
def __init__(self, *args):
476-
if len(args):
477-
warn_deprecated(
478-
'1.3',
479-
message="CallbackRegistry no longer requires a list of "
480-
"callback types. Ignoring arguments. *args will "
481-
"be removed in 1.5")
475+
def __init__(self):
482476
self.callbacks = dict()
483477
self._cid = 0
484478
self._func_cid_map = {}

0 commit comments

Comments
 (0)