Skip to content

Commit

Permalink
Fix typo in porting.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lesteve authored Aug 22, 2024
1 parent d25f169 commit a1d6a3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/porting.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,9 @@ Should be transformed to:
```C
int do_modification(MyObject *obj) {
int res;
Py_BEGIN_CRTIICAL_SECTION(obj);
Py_BEGIN_CRITICAL_SECTION(obj);
res = modification_on_obj(obj);
Py_END_CRTIICAL_SECTION(obj);
Py_END_CRITICAL_SECTION(obj);
return res;
}
```
Expand Down

0 comments on commit a1d6a3f

Please sign in to comment.