documented return value for create_account

This commit is contained in:
serprinss 2020-03-28 13:34:10 +11:00 committed by GitHub
parent dd13a3e2e0
commit a43bc7e956
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -501,6 +501,8 @@ def create_account(
report_to (Object): An object with a msg() method to report
errors to. If not given, errors will be logged.
Returns:
(object) The acount object of the new account.
Raises:
ValueError: If `key` already exists in database.