From 8861b8a3ebebb37025365c3327bc9b600d54a398 Mon Sep 17 00:00:00 2001 From: Catherine Date: Fri, 22 Mar 2024 06:01:10 +0000 Subject: [PATCH] docs/reference: fix typos. --- amaranth/hdl/_ast.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amaranth/hdl/_ast.py b/amaranth/hdl/_ast.py index e8a6553..9fbf2b7 100644 --- a/amaranth/hdl/_ast.py +++ b/amaranth/hdl/_ast.py @@ -1039,7 +1039,7 @@ class Value(metaclass=ABCMeta): def shift_right(self, amount): """Right shift by constant amount. - If :py:`amount < 0`, performs the same operation as :py:`self.left_right(-amount)`. + If :py:`amount < 0`, performs the same operation as :py:`self.shift_left(-amount)`. Returns ------- @@ -1062,7 +1062,7 @@ class Value(metaclass=ABCMeta): def rotate_right(self, amount): """Right rotate by constant amount. - If :py:`amount < 0`, performs the same operation as :py:`self.rotate_right(-amount)`. + If :py:`amount < 0`, performs the same operation as :py:`self.rotate_left(-amount)`. Returns -------