Skip to content

Commit 7374014

Browse files
authored
Updating docstring for WebPusher.send method
Removed duplicate description for :param reg_id:
1 parent bdf3d3e commit 7374014

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pywebpush/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,6 @@ def send(self, data, headers={}, ttl=0, gcm_key=None, reg_id=None):
158158
:param data: A serialized block of data (see encode() ).
159159
:param gcm_key: API key obtained from the Google Developer Console.
160160
Needed if endpoint is https://android.googleapis.com/gcm/send
161-
:param reg_id: registration id of the recipient. If not provided,
162-
it will be extracted from the endpoint.
163161
:param headers: A dictionary containing any additional HTTP headers.
164162
:param ttl: The Time To Live in seconds for this message if the
165163
recipient is not online. (Defaults to "0", which discards the

0 commit comments

Comments
 (0)