summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2020-09-30 12:43:17 +0300
committerGitHub <noreply@github.com>2020-09-30 12:43:17 +0300
commitb8db9898857fe9464495642f9a8a4fb981765e06 (patch)
tree3c2a3bbe4da2fa3388fb9cfba57855f1fe6fbbf7
parent3e4f45b0b10e5d25f67682287a9d9962fe2d8fd2 (diff)
downloadisort-b8db9898857fe9464495642f9a8a4fb981765e06.tar.gz
Fixes syntax highlight in README.md
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 38f735fa..c2c6a824 100644
--- a/README.md
+++ b/README.md
@@ -136,7 +136,7 @@ run against code written using a different version of Python)
**From within Python**:
-```bash
+```python
import isort
isort.file("pythonfile.py")
@@ -144,7 +144,7 @@ isort.file("pythonfile.py")
or:
-```bash
+```python
import isort
sorted_code = isort.code("import b\nimport a\n")