From 50b5e14e6a39f140cfeb2040c1582a6bec091924 Mon Sep 17 00:00:00 2001 From: Robert Knutsson Date: Thu, 30 Oct 2025 20:15:37 +0100 Subject: [PATCH] c_client.py: Remove legacy python2 constructs Signed-off-by: Robert Knutsson --- src/c_client.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/c_client.py b/src/c_client.py index 3cef473..3e8c295 100755 --- a/src/c_client.py +++ b/src/c_client.py @@ -1,5 +1,4 @@ -#!/usr/bin/env python -from __future__ import print_function +#!/usr/bin/env python3 import getopt import os import sys @@ -67,7 +66,7 @@ def _c_wr_stringlist(indent, strlist): _c("%s%s", indent, str) -class PreCode(object): +class PreCode: ''' For pre-code generated by expression generation (for example, the for-loop of a sumof)