mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 00:13:01 +00:00
[docs] copy signature from overridden and inherited methods
This commit is contained in:
@@ -119,7 +119,7 @@ def flatten_user(cls):
|
||||
return general
|
||||
|
||||
func = generate_function(attr)
|
||||
func.__doc__ = value.__doc__
|
||||
func = utils.copy_doc(value)(func)
|
||||
setattr(cls, attr, func)
|
||||
|
||||
return cls
|
||||
|
Reference in New Issue
Block a user