mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
python: Convert more "".format to Python 3.6 f-strings.
Generated by pyupgrade --py36-plus --keep-percent-format. Now including %d, %i, %u, and multi-line strings. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
4aeb02f73d
commit
57a80856a5
@@ -258,7 +258,7 @@ def get_subscription_status(client: Client) -> None:
|
||||
user_id = 7
|
||||
stream_id = 1
|
||||
result = client.call_endpoint(
|
||||
url='/users/{}/subscriptions/{}'.format(user_id, stream_id),
|
||||
url=f'/users/{user_id}/subscriptions/{stream_id}',
|
||||
method='GET',
|
||||
)
|
||||
# {code_example|end}
|
||||
|
||||
Reference in New Issue
Block a user