Show More
@@ -625,9 +625,8 b' class wrappedfunction:' | |||
|
625 | 625 | def __init__(self, container, funcname, wrapper): |
|
626 | 626 | assert callable(wrapper) |
|
627 | 627 | if not isinstance(funcname, str): |
|
628 |
msg = b" |
|
|
629 | util.nouideprecwarn(msg, b"6.6", stacklevel=2) | |
|
630 | funcname = pycompat.sysstr(funcname) | |
|
628 | msg = b"wrappedfunction target name should be `str`, not `bytes`" | |
|
629 | raise TypeError(msg) | |
|
631 | 630 | self._container = container |
|
632 | 631 | self._funcname = funcname |
|
633 | 632 | self._wrapper = wrapper |
General Comments 0
You need to be logged in to leave comments.
Login now