Skip to content

Commit e8d2c01

Browse files
authored
docs: Fix missing hook output in docs example (#7421)
1 parent eb173bc commit e8d2c01

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/user/advanced.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ Let's print some request method arguments at runtime::
467467
You can add multiple hooks to a single request. Let's call two hooks at once::
468468

469469
>>> r = requests.get('https://httpbin.org/', hooks={'response': [print_url, record_hook]})
470+
https://httpbin.org/
470471
>>> r.hook_called
471472
True
472473

0 commit comments

Comments
 (0)