Skip to content

Commit aa46657

Browse files
Use the same string for typevars as Python so it looks similar
1 parent 0dbb76d commit aa46657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/egglog/declarations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def to_just(self) -> JustTypeRef:
312312
raise NotImplementedError(msg)
313313

314314
def __str__(self) -> str:
315-
return f"{self.module}.{self.name}"
315+
return str(self.to_type_var())
316316

317317
@classmethod
318318
def from_type_var(cls, typevar: TypeVar) -> ClassTypeVarRef:

0 commit comments

Comments
 (0)