Skip to content

Commit 46d59e5

Browse files
committed
docs: add __filename/__dirname to CommonJS Subsystem Additions
1 parent 803b10a commit 46d59e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ pythonmonkey module.
197197
- `require`
198198
- `exports`
199199
- `module`
200+
- `__filename`
201+
- `__dirname`
200202
- `python.print` - the Python print function
201203
- `python.getenv` - the Python getenv function
202204
- `python.stdout` - an object with `read` and `write` methods, which read and write to stdout

0 commit comments

Comments
 (0)