From 295060d190e98245ee16d68f887ba2aed1cf9cbf Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 27 Apr 2022 09:56:48 +0200 Subject: [PATCH] Remove "0x" prefix from IDs in the documentation --- compiler/api/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/api/compiler.py b/compiler/api/compiler.py index 5736c68d..7cbce6f3 100644 --- a/compiler/api/compiler.py +++ b/compiler/api/compiler.py @@ -378,7 +378,7 @@ def start(format: bool = False): else: docstring += f"Telegram API method.\n\n" - docstring += f" Details:\n - Layer: ``{layer}``\n - ID: ``{c.id}``\n\n" + docstring += f" Details:\n - Layer: ``{layer}``\n - ID: ``{c.id[2:].upper()}``\n\n" if docstring_args: docstring += " Parameters:\n " + "\n ".join(docstring_args)