chore: improve overload error msg

This commit is contained in:
Shunsuke Shibayama 2024-06-15 14:08:48 +09:00
parent 5cf3acbf16
commit 22cd07a414
6 changed files with 52 additions and 13 deletions

View file

@ -11,6 +11,13 @@
.capwords: (s: Str, sep := Str) -> Str
.Template: ClassType
.Template.
template: Str
__call__: (template: Str) -> .Template
substitute: (self: .Template, mapping := {Str: Str}, **kws: Str) -> Str
safe_substitute: (self: .Template, mapping := {Str: Str}, **kws: Str) -> Str
is_valid: (self: .Template) -> Bool
get_identifiers: (self: .Template) -> [Str; _]
FormatterIterator = 'formatteriterator': ClassType
FormatterIterator <: Iterable [Str; _]