Skip to content

Commit 295060d

Browse files
committed
Remove "0x" prefix from IDs in the documentation
1 parent 32b3452 commit 295060d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/api/compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def start(format: bool = False):
378378
else:
379379
docstring += f"Telegram API method.\n\n"
380380

381-
docstring += f" Details:\n - Layer: ``{layer}``\n - ID: ``{c.id}``\n\n"
381+
docstring += f" Details:\n - Layer: ``{layer}``\n - ID: ``{c.id[2:].upper()}``\n\n"
382382

383383
if docstring_args:
384384
docstring += " Parameters:\n " + "\n ".join(docstring_args)

0 commit comments

Comments
 (0)