Skip to content

Commit 85431dd

Browse files
Fix doc rendering (#724)
1 parent 21cd3be commit 85431dd

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/index.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ The only available operation is calling the previously registered
1616
callbacks by using ``await sig.send(data)``.
1717

1818
The callback parameters, which should be passed in the ``.send()`` call, can be
19-
specified for a type checker:
19+
specified for a type checker::
20+
21+
signal = Signal[int, str](owner)
22+
signal.send(42, "foo")
2023

21-
```python
22-
signal = Signal[int, str](owner)
23-
signal.send(42, "foo")
24-
```
2524

2625
For concrete usage examples see the :ref:`aiohttp:aiohttp-web-signals` section of the :doc:`aiohttp:web_advanced` chapter of the :doc:`aiohttp documentation <aiohttp:index>`.
2726

0 commit comments

Comments
 (0)