From 4dc574bd4dea4df831e2d41b1cd14b27f316a007 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Mon, 16 Sep 2024 13:13:02 +0200 Subject: [PATCH] examples: drop python 2 compat shim --- examples/sample-model-viewer.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/sample-model-viewer.py b/examples/sample-model-viewer.py index 72fba18f5c..c895bf7ba2 100644 --- a/examples/sample-model-viewer.py +++ b/examples/sample-model-viewer.py @@ -4,12 +4,6 @@ from numpy import pi from pinocchio.visualize import GepettoVisualizer, MeshcatVisualizer, RVizVisualizer -try: - # Python 2 - input = raw_input -except NameError: - pass - # GepettoVisualizer: -g # MeshcatVisualizer: -m VISUALIZER = None