c_client.py: Remove legacy python2 constructs

Signed-off-by: Robert Knutsson <zybreak@gmail.com>
This commit is contained in:
Robert Knutsson 2025-10-30 20:15:37 +01:00
parent 93ee2ac73c
commit 50b5e14e6a

View file

@ -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)