From 74ce481119d6d08e9b9aaffa8f930affd87219ad Mon Sep 17 00:00:00 2001 From: Mustafa <66224841+mustafa-nom@users.noreply.github.com> Date: Wed, 8 Jan 2025 00:12:01 -0800 Subject: [PATCH] Update documentation text First time doing this; I just updated the grammatically issues I found with the README.md; Let me know if there are any issues with what I did. Thank you! --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 611d1fec..56b6db4c 100644 --- a/README.md +++ b/README.md @@ -412,7 +412,7 @@ except anthropic.APIStatusError as e: print(e.response) ``` -Error codes are as followed: +Error codes are as follows: | Status Code | Error Type | | ----------- | -------------------------- | @@ -579,7 +579,7 @@ message = response.parse() # get the object that `messages.create()` would have print(message.content) ``` -These methods return an [`LegacyAPIResponse`](https://github.com/anthropics/anthropic-sdk-python/tree/main/src/anthropic/_legacy_response.py) object. This is a legacy class as we're changing it slightly in the next major version. +These methods return a [`LegacyAPIResponse`](https://github.com/anthropics/anthropic-sdk-python/tree/main/src/anthropic/_legacy_response.py) object. This is a legacy class as we're changing it slightly in the next major version. For the sync client this will mostly be the same with the exception of `content` & `text` will be methods instead of properties. In the