diff --git a/pytools/tag.py b/pytools/tag.py index 0155e52163c69c2cf0a55913e1995dd62f245025..12e6b82b531e8ac2f12108721791788cd31d3b13 100644 --- a/pytools/tag.py +++ b/pytools/tag.py @@ -2,10 +2,9 @@ from __future__ import annotations from dataclasses import dataclass from typing import (Tuple, Any, FrozenSet) - - # {{{ dotted name + class DottedName: """ .. attribute:: name_parts @@ -42,12 +41,14 @@ class DottedName: "start with double underscores") return cls(name_parts) + # }}} # {{{ tag tag_dataclass = dataclass(init=True, eq=True, frozen=True, repr=True) + @tag_dataclass class Tag: """