Skip to content

Commit 98edb0c

Browse files
heikkitoivonencodex
andcommitted
Docs: Fix netrc lookup
Co-Authored-By: Codex <codex@openai.com>
1 parent a7524ca commit 98edb0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/stdlib/netrc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The `netrc` module parses and encapsulates the .netrc file, which contains login
77
| Operation | Time | Space | Notes |
88
|-----------|------|-------|-------|
99
| `netrc()` parse | O(n) | O(n) | n = file size |
10-
| Lookup auth | O(n) | O(1) | n = hostname length |
10+
| Lookup auth | O(1) | O(1) | Hash-based |
1111

1212
## Working with Netrc Files
1313

0 commit comments

Comments
 (0)