Skip to content

Commit

Permalink
Miscellaneous fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Feb 1, 2022
1 parent 8e6db3f commit a301789
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions praw/models/inbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ def mark_unread(
"""Unmark Comments or Messages as read.
:param items: A list containing instances of :class:`.Comment` and/or
:class:`.Message` to be be marked as unread relative to the authorized
user's inbox.
:class:`.Message` to be marked as unread relative to the authorized user's
inbox.
Requests are batched at 25 items (reddit limit).
Requests are batched at 25 items (Reddit limit).
For example, to mark the first 10 items as unread try:
Expand Down
2 changes: 1 addition & 1 deletion praw/models/reddit/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def contributor(self) -> "praw.models.reddit.live.LiveContributorRelationship":
thread = reddit.live("ukaeu1ik4sw5")
for contributor in thread.contributor():
# prints `(Redditor(name="Acidtwist"), ["all"])`
# prints `Redditor(name="Acidtwist") ["all"]`
print(contributor, contributor.permissions)
"""
Expand Down
6 changes: 4 additions & 2 deletions praw/reddit.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,8 @@ def _objectify_request(
:param json: JSON-serializable object to send in the body of the request with a
Content-Type header of application/json (default: ``None``). If ``json`` is
provided, ``data`` should not be.
:param method: The HTTP method (e.g., GET, POST, PUT, DELETE).
:param method: The HTTP method (e.g., ``"GET"``, ``"POST"``, ``"PUT"``,
``"DELETE"``).
:param params: The query parameters to add to the request (default: ``None``).
:param path: The path to fetch.
Expand Down Expand Up @@ -900,7 +901,8 @@ def request(
:param json: JSON-serializable object to send in the body of the request with a
Content-Type header of application/json (default: ``None``). If ``json`` is
provided, ``data`` should not be.
:param method: The HTTP method (e.g., GET, POST, PUT, DELETE).
:param method: The HTTP method (e.g., ``"GET"``, ``"POST"``, ``"PUT"``,
``"DELETE"``).
:param params: The query parameters to add to the request (default: ``None``).
:param path: The path to fetch.
Expand Down

0 comments on commit a301789

Please sign in to comment.