hint python to syntax highlighting

This commit is contained in:
Peter Ruibal 2015-01-10 20:29:23 -08:00
parent 2ec29217d3
commit e416d348a6
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ interfacing with your system's $EDITOR.
Examples
--------
```
```python
import editor
commit_msg = editor.edit(contents="# Enter commit message here")
```
@ -12,7 +12,7 @@ Opens an editor, prefilled with the contents, "# Enter commit messdage here".
When the editor is closed, returns the contents in variable `commit_msg`.
```
```python
import editor
editor.edit(file="README.txt")
```