From cfb26155c6d7589f4ddcf2a6d407044f75fa15df Mon Sep 17 00:00:00 2001 From: shenchucheng <60704484+shenchucheng@users.noreply.github.com> Date: Mon, 7 Aug 2023 01:29:25 +0800 Subject: [PATCH] Update write_docstring.py to fix wrong word --- metagpt/actions/write_docstring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metagpt/actions/write_docstring.py b/metagpt/actions/write_docstring.py index 370d020de..cc4d7d904 100644 --- a/metagpt/actions/write_docstring.py +++ b/metagpt/actions/write_docstring.py @@ -15,7 +15,7 @@ PYTHON_DOCSTRING_SYSTEM = '''### Requirements ### Input Example ```python def function_with_pep484_type_annotations(param1: int) -> bool: - return isinstanc(param1, int) + return isinstance(param1, int) class ExampleError(Exception): def __init__(self, msg: str):