Update write_docstring.py to fix wrong word

This commit is contained in:
shenchucheng 2023-08-07 01:29:25 +08:00 committed by GitHub
parent 6c0531347f
commit cfb26155c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):