Skip to content

Commit

Permalink
Merge pull request #11928 from samgermain/transpile-doc-strings
Browse files Browse the repository at this point in the history
Docstrings are transpiled from Javascript to Python
  • Loading branch information
kroitor committed Feb 11, 2022
2 parents e63191a + e1c2054 commit 3a92881
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/transpile.js
Expand Up @@ -324,6 +324,8 @@ class Transpiler {
[ /\=\=\sTrue/g, 'is True' ], // a correction for PEP8 E712, it likes "is True", not "== True"
[ /\sdelete\s/g, ' del ' ],
[ /(?<!#.+)null/, 'None' ],
[ /\/\*\*/, '\'\'\'' ], // Doc strings
[ / \*\//, '\'\'\'' ], // Doc strings
])
}

Expand Down

0 comments on commit 3a92881

Please sign in to comment.