Commit d2c06e81 authored by hupantingxue's avatar hupantingxue

Modify function detail doc;

parent de94b5d3
......@@ -3,17 +3,17 @@ import re
# Value selectors; aliases, tags, etc.
def tag(*tags):
"""Select a single tag."""
"""Select a (list of) tag(s)."""
vtag = [t for t in tags]
return {"tag": vtag}
def tag_and(*tag_ands):
"""Select a single tag_and."""
"""Select a (list of) tag_and(s)."""
vtag_and = [t for t in tag_ands]
return {"tag_and": vtag_and}
def alias(*alias):
"""Select a single alias."""
"""Select a (list of) alias(es)."""
valias = [t for t in alias]
return {"alias": valias}
......
......@@ -37,7 +37,7 @@ class Push(object):
:returns: :py:class:`PushResponse` object with ``push_ids`` and
other response data.
:raises AirshipFailure: Request failed.
:raises JPushFailure: Request failed.
:raises Unauthorized: Authentication failed.
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment