Cleanup of at_say hook, pass outputfunc, support multiple receivers.

This is an API change since at_say(recever=...) is now
at_say(receivers=...). Since this was originally committed for devel, I
merge this into master. This resolves #1432 and #1433 and reimplements the changes by #1419 without the
addition of a new type kwarg.
This commit is contained in:
Griatch 2017-09-30 14:08:02 +02:00
parent a6ed6ff5ea
commit da58d827cf
3 changed files with 93 additions and 63 deletions

View file

@ -674,8 +674,9 @@ class TypedObject(SharedMemoryModel):
Displays the name of the object in a viewer-aware manner.
Args:
looker (TypedObject): The object or account that is looking
at/getting inforamtion for this object.
looker (TypedObject, optional): The object or account that is looking
at/getting inforamtion for this object. If not given, some
'safe' minimum level should be returned.
Returns:
name (str): A string containing the name of the object,