Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
colesbury committed Nov 15, 2023
1 parent ad2c1bc commit 76643a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Include/internal/pycore_lock.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ typedef struct {
} _PyOnceFlag;

// Type signature for one-time initialization functions. The function should
// return 1 on success and 0 on failure.
// return 0 on success and -1 on failure.
typedef int _Py_once_fn_t(void *arg);

// (private) slow path for one time initialization
Expand Down

0 comments on commit 76643a5

Please sign in to comment.