Skip to content

Commit 7f5f9a5

Browse files
committed
Not limited to strings
Signed-off-by: Pedro Algarvio <[email protected]>
1 parent 593aa2a commit 7f5f9a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ptscripts/parser.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,27 +228,27 @@ def print(self, *args, **kwargs) -> None:
228228
"""
229229
self.console_stdout.print(*args, **kwargs)
230230

231-
def debug(self, *args: str) -> None:
231+
def debug(self, *args) -> None:
232232
"""
233233
Print debug message to stderr.
234234
"""
235235
if self._debug:
236236
self.console.log(*args, style="log-debug", _stack_offset=2)
237237

238-
def info(self, *args: str) -> None:
238+
def info(self, *args) -> None:
239239
"""
240240
Print info message to stderr.
241241
"""
242242
if not self._quiet:
243243
self.console.log(*args, style="log-info", _stack_offset=2)
244244

245-
def warn(self, *args: str) -> None:
245+
def warn(self, *args) -> None:
246246
"""
247247
Print warning message to stderr.
248248
"""
249249
self.console.log(*args, style="log-warning", _stack_offset=2)
250250

251-
def error(self, *args: str) -> None:
251+
def error(self, *args) -> None:
252252
"""
253253
Print error message to stderr.
254254
"""

0 commit comments

Comments
 (0)