Skip to content

Commit fc491bd

Browse files
committed
Slightly improve documentation
1 parent d078f88 commit fc491bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/crate/client/doctests/http.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ an exception is raised when the timeout is reached::
181181
...
182182
crate.client.exceptions.ConnectionError: No more Servers available, exception from last server: ...
183183

184-
When connecting to non Crate servers the HttpClient will raise a ConnectionError like this::
184+
When connecting to non-CrateDB servers, the HttpClient will raise a ConnectionError like this::
185185

186186
>>> http_client = HttpClient(["https://httpbin.org/html"])
187187
>>> http_client.server_infos(http_client._get_server())

src/crate/client/doctests/mocking.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Client Mocking
55
For testing purposes it is often useful to replace the client used for
66
communication with the CrateDB server with a stub or mock.
77

8-
This can be done by passing a object of the Client class when calling the
8+
This can be done by passing an object of the Client class when calling the
99
``connect`` method::
1010

1111
>>> from crate import client

0 commit comments

Comments
 (0)