diff options
| author | Juraj Linkeš <[email protected]> | 2024-06-19 15:35:23 +0200 |
|---|---|---|
| committer | Thomas Monjalon <[email protected]> | 2024-06-20 04:40:08 +0200 |
| commit | 3e967643bc51c87928453e4b718a9e09d731cb21 (patch) | |
| tree | 47ecd98f190d15b6490a3f87be14acce25d330c5 /dts/framework/remote_session/testpmd_shell.py | |
| parent | dc0174d28c441678b1ad8c233e0d68b9d8241d17 (diff) | |
dts: unify class inheritance from object
There are two ways we specify that a class inherits from object -
implicitly and explicitly. There's no need to explicitly specify that a
class inherits from object and is in fact mostly a remnant from Python2.
Leaving it implicit is the standard in Python3 and offers a small bonus
in cases where something would assign something else to the builtin
object variable.
Signed-off-by: Juraj Linkeš <[email protected]>
Reviewed-by: Luca Vizzarro <[email protected]>
Reviewed-by: Patrick Robb <[email protected]>
Reviewed-by: Jeremy Spewock <[email protected]>
Diffstat (limited to 'dts/framework/remote_session/testpmd_shell.py')
| -rw-r--r-- | dts/framework/remote_session/testpmd_shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dts/framework/remote_session/testpmd_shell.py b/dts/framework/remote_session/testpmd_shell.py index cb2ab6bd00..9456de941d 100644 --- a/dts/framework/remote_session/testpmd_shell.py +++ b/dts/framework/remote_session/testpmd_shell.py @@ -27,7 +27,7 @@ from framework.utils import StrEnum from .interactive_shell import InteractiveShell -class TestPmdDevice(object): +class TestPmdDevice: """The data of a device that testpmd can recognize. Attributes: |
