8000 Merge pull request #22 from markshannon/fix-comment · markshannon/New-C-API-for-Python@6773c66 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6773c66

Browse files
authored
Merge pull request #22 from markshannon/fix-comment
Fix comment
2 parents 77068cf + a26ed51 commit 6773c66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/generate/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,12 +230,12 @@ def FromErrnoWithFilename(cls: Class, filename: utf_string) -> Self: ...
230230

231231
def RaiseFromString(cls: Class, message: utf_string) -> Self:
232232
"""Always fails. Returns, barring another error,
233-
{ PyRef PyRef_INVALID, new_exception }
233+
will set *error to the newly created exception.
234234
"""
235235

236236
def RaiseFromValue(cls: Class, message) -> Self:
237237
"""Always fails. Returns, barring another error,
238-
{ PyRef PyRef_INVALID, new_exception }
238+
will set *error to the newly created exception.
239239
"""
240240

241241
@namespace

0 commit comments

Comments
 (0)
0