doc [skip ci]
This commit is contained in:
parent
917782999c
commit
ba8116c898
1 changed files with 1 additions and 1 deletions
|
|
@ -572,7 +572,7 @@ Babashka sets the following system properties:
|
|||
- `babashka.main`: the `--main` argument
|
||||
- `babashka.file`: the `--file` argument (normalized using `.getCanonicalPath`)
|
||||
|
||||
## __name__ = "__main__" pattern
|
||||
## `__name__ = "__main__"` pattern
|
||||
|
||||
In Python scripts there is a well-known pattern to check if the current file was
|
||||
the file invoked from the command line: `__name__ = "__main__" pattern`. In
|
||||
|
|
|
|||
Loading…
Reference in a new issue