Skip to content

Commit 4dff287

Browse files
committed
Corrects json_request docstring
1 parent 1e6cfbf commit 4dff287

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

gcm/gcm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ def json_request(self, registration_ids, data=None, collapse_key=None,
255255
:param registration_ids: list of the registration ids
256256
:param data: dict mapping of key-value pairs of messages
257257
:return dict of response body from Google including multicast_id, success, failure, canonical_ids, etc
258-
:raises GCMMissingRegistrationException: if the list of registration_ids exceeds 1000 items
258+
:raises GCMMissingRegistrationException: if the list of registration_ids is empty
259+
:raises GCMTooManyRegIdsException: if the list of registration_ids exceeds 1000 items
259260
"""
260261

261262
if not registration_ids:

0 commit comments

Comments
 (0)