Skip to content

Commit ea679d4

Browse files
committed
adding documentation for version
1 parent 0a24824 commit ea679d4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,11 @@ Promise is rejected if there is a syntax error.
275275
Checks the syntax of the file and returns a promise.
276276
Promise is rejected if there is a syntax error.
277277

278+
#### `version(pythonPath?:string)`
279+
280+
Returns the python version. Optional pythonPath param to get the version
281+
of a specific python interpreter.
282+
278283
#### event: `message`
279284

280285
Fires when a chunk of data is parsed from the stdout stream via the `receive` method. If a `parser` method is specified, the result of this function will be the message value. This event is not emitted in binary mode.

0 commit comments

Comments
 (0)