summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/pythonhighlight/README.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/pythonhighlight/README.md b/Master/texmf-dist/doc/latex/pythonhighlight/README.md
index 06fc5b02af3..1ed233417c5 100644
--- a/Master/texmf-dist/doc/latex/pythonhighlight/README.md
+++ b/Master/texmf-dist/doc/latex/pythonhighlight/README.md
@@ -25,9 +25,12 @@ The special method \pyth{__init__}...
```
Last but not least, you can load an external Python file with:
-
```tex
-\inputpython{python_file.py}{23}{50}
+\inputpythonfile{python_file.py}[23][50]
```
-
-to display the contents of the file ``python_file`` from line 23 to line 50.
+to display the contents of the file ``python_file`` from line 23 to line 50,
+or with
+```tex
+\inputpythonfile{python_file.py}
+```
+to input the whole Python file.