Skip to content

Commit

Permalink
fix comment about client property
Browse files Browse the repository at this point in the history
  • Loading branch information
julien4215 committed Apr 24, 2024
1 parent bf0521c commit 65c8ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starlette/requests.py
Expand Up @@ -145,7 +145,7 @@ def cookies(self) -> dict[str, str]:

@property
def client(self) -> Address | None:
# client is a 2 item tuple of (host, port), None or missing
# client is a 2 item tuple of (host, port), None if missing
host_port = self.scope.get("client")
if host_port is not None:
return Address(*host_port)
Expand Down

0 comments on commit 65c8ffb

Please sign in to comment.