From 66680af98c4419ea670f0f9967f247ca42e3dca9 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 3 Jan 2018 18:03:40 +0100 Subject: [PATCH] Fix docstring vector type --- compiler/api/compiler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/api/compiler.py b/compiler/api/compiler.py index e1f35e8f..fab72c16 100644 --- a/compiler/api/compiler.py +++ b/compiler/api/compiler.py @@ -205,8 +205,8 @@ class Compiler: else: arg_type = "List of :class:`pyrogram.api.types.{}`".format( ".".join( - arg_type.split(".")[:-1] - + [self.caml(arg_type.split(".")[-1])] + sub_type.split(".")[:-1] + + [self.caml(sub_type.split(".")[-1])] ) ) else: