Skip to content

Commit ec25a01

Browse files
author
Raphael Krupinski
committed
🐛 Make TypeHint.full_name return value compatible with from_str().
1 parent 17eb015 commit ec25a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lapidary/render/model/python/type_hint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def __repr__(self):
1212
return self.full_name()
1313

1414
def full_name(self):
15-
return self.module + '.' + self.name if self.module != 'builtins' else self.name
15+
return self.module + ':' + self.name if self.module != 'builtins' else self.name
1616

1717
@staticmethod
1818
def from_str(path: str) -> 'TypeHint':

0 commit comments

Comments
 (0)