Skip to content

Commit 235c6f9

Browse files
committed
EVENTS.md: Fix ringbuf queue example indentation.
1 parent c9022bb commit 235c6f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

v3/docs/EVENTS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -532,10 +532,10 @@ not allowed to stall: where it becomes full, new items overwrite the oldest ones
532532
in the queue:
533533
```python
534534
def add_item(q, data):
535-
try:
536-
q.put_nowait(data)
537-
except IndexError:
538-
pass
535+
try:
536+
q.put_nowait(data)
537+
except IndexError:
538+
pass
539539
```
540540

541541
###### [Contents](./EVENTS.md#0-contents)

0 commit comments

Comments
 (0)