From b82475a4ab378acfe2d0b82ba4a51443fe1928f9 Mon Sep 17 00:00:00 2001 From: Julian Daube Date: Wed, 3 Jul 2019 14:40:59 +0200 Subject: [PATCH] gds: move datatype attribute to drawable --- gds/elements.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gds/elements.py b/gds/elements.py index 1de7634..fafa6aa 100644 --- a/gds/elements.py +++ b/gds/elements.py @@ -14,11 +14,11 @@ class Element(object): def __init__(self): self.elflags = 0 self.plex = 0 - self.datatype = 0 - + class Drawable(object): def __init__(self): self.layer = 0 + self.datatype = 0 class Boundary(Element, Drawable): def __init__(self):