From: whitequark Date: Sun, 18 Aug 2019 16:26:45 +0000 (+0000) Subject: hdl.xfrm: make deprecated CEInserter more well-behaved. X-Git-Tag: locally_working~30 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d44ea4e9fef9c1c332192ae062cf57b7e0fceb6b;p=nmigen.git hdl.xfrm: make deprecated CEInserter more well-behaved. --- diff --git a/nmigen/hdl/xfrm.py b/nmigen/hdl/xfrm.py index 11bfd2a..4c96b7c 100644 --- a/nmigen/hdl/xfrm.py +++ b/nmigen/hdl/xfrm.py @@ -698,4 +698,5 @@ class EnableInserter(_ControlInserter): return new_fragment -CEInserter = deprecated("instead of `CEInserter`, use `EnableInserter`")(EnableInserter) +CEInserter = staticmethod( + deprecated("instead of `CEInserter`, use `EnableInserter`")(EnableInserter))