From 5cd43442b811d874ec62df09e2b34267353df2de Mon Sep 17 00:00:00 2001 From: Gabriel Wicki Date: Fri, 17 Apr 2026 13:14:03 +0200 Subject: [PATCH] compiler: gdsMill: Modernize codebase. * compiler/gdsMill/pyx/graph/axis/tick.py: Modernize. --- compiler/gdsMill/pyx/graph/axis/tick.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/gdsMill/pyx/graph/axis/tick.py b/compiler/gdsMill/pyx/graph/axis/tick.py index 35d093e0..85e532c9 100644 --- a/compiler/gdsMill/pyx/graph/axis/tick.py +++ b/compiler/gdsMill/pyx/graph/axis/tick.py @@ -90,12 +90,12 @@ class rational: if autolong: self.denom *= 10 ** int(expparts[1]) else: - self.denom *= 10L ** int(expparts[1]) + self.denom *= 10 ** int(expparts[1]) else: if autolong: self.num *= 10 ** int(expparts[1]) else: - self.num *= 10L ** int(expparts[1]) + self.num *= 10 ** int(expparts[1]) def initfromfloat(self, x, floatprecision): "converts a float into a rational with finite resolution"