✏️ Fix error in `docs/en/docs/tutorial/middleware.md` (#12819)

This commit is contained in:
Alejandra 2024-11-09 17:07:05 +00:00 committed by GitHub
parent 5df1415fee
commit 40912999d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -60,7 +60,6 @@ For example, you could add a custom header `X-Process-Time` containing the time
{* ../../docs_src/middleware/tutorial001.py hl[10,12:13] *}
/// tip
```Python hl_lines="10 12-13"
Here we use <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> instead of `time.time()` because it can be more precise for these use cases. 🤓