Fix docstring vector type

This commit is contained in:
Dan 2018-01-03 18:03:40 +01:00
parent 4a0041ea7f
commit 66680af98c

View File

@ -205,8 +205,8 @@ class Compiler:
else: else:
arg_type = "List of :class:`pyrogram.api.types.{}`".format( arg_type = "List of :class:`pyrogram.api.types.{}`".format(
".".join( ".".join(
arg_type.split(".")[:-1] sub_type.split(".")[:-1]
+ [self.caml(arg_type.split(".")[-1])] + [self.caml(sub_type.split(".")[-1])]
) )
) )
else: else: