From ebafb950542c334147c642cf10d5b6077b58f61e Mon Sep 17 00:00:00 2001 From: Harsh Gupta Date: Mon, 29 Apr 2024 16:28:59 +0530 Subject: [PATCH] docs(python): fix CDPSession documentation example (#30584) --- docs/src/api/class-cdpsession.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/api/class-cdpsession.md b/docs/src/api/class-cdpsession.md index 68117427a6653..8ae780363d50c 100644 --- a/docs/src/api/class-cdpsession.md +++ b/docs/src/api/class-cdpsession.md @@ -30,7 +30,7 @@ client.on("Animation.animationCreated", lambda: print("animation created!")) response = await client.send("Animation.getPlaybackRate") print("playback rate is " + str(response["playbackRate"])) await client.send("Animation.setPlaybackRate", { - playbackRate: response["playbackRate"] / 2 + "playbackRate": response["playbackRate"] / 2 }) ``` @@ -41,7 +41,7 @@ client.on("Animation.animationCreated", lambda: print("animation created!")) response = client.send("Animation.getPlaybackRate") print("playback rate is " + str(response["playbackRate"])) client.send("Animation.setPlaybackRate", { - playbackRate: response["playbackRate"] / 2 + "playbackRate": response["playbackRate"] / 2 }) ``` ```csharp