Skip to content

Commit ce9be3b

Browse files
Add self to python keywords (#984)
1 parent bcb0297 commit ce9be3b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
type: fix
2+
fix:
3+
description: Add `self` to python keywords
4+
links:
5+
- https://github.com/palantir/conjure-python/pull/984

conjure-python-core/src/main/java/com/palantir/conjure/python/processors/PythonIdentifierSanitizer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public final class PythonIdentifierSanitizer {
5757
"print",
5858
"raise",
5959
"return",
60+
"self",
6061
"str",
6162
"try",
6263
"while",

0 commit comments

Comments
 (0)