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

This commit is contained in:
Alejandra authored and GitHub committed 2024-11-09 17:07:05 +00:00
1 parent 5df1415fee
commit 40912999d1
1 file changed
-1
-1
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. 🤓