Skip to content

Commit

Permalink
Update python.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Sep 22, 2024
1 parent c9a0dc9 commit d30b5d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/python.js
Original file line number Diff line number Diff line change
Expand Up @@ -3614,6 +3614,7 @@ python.Execution = class {
}
}
});
this.registerFunction('builtins.exec');
this.registerFunction('builtins.issubclass', (obj, type) => {
const name = `${type.__module__}.${type.__name__}`;
if (obj.__module__ && obj.__name__) {
Expand Down

0 comments on commit d30b5d7

Please sign in to comment.