summaryrefslogtreecommitdiff
path: root/doc/docs/tokens.rst
diff options
context:
space:
mode:
authorEricFromCanada <eric3knibbe@gmail.com>2014-11-14 09:51:30 -0500
committerEricFromCanada <eric3knibbe@gmail.com>2014-11-14 09:51:30 -0500
commitd92befa4604a46a99eac39b276ad14d161282de9 (patch)
tree019b162a2499164625732c2485e283422208b19c /doc/docs/tokens.rst
parent20d09551620be3469e1ca7c02c8f3d18760f47a2 (diff)
downloadpygments-d92befa4604a46a99eac39b276ad14d161282de9.tar.gz
spelling/grammar/syntax fixes for docs
Diffstat (limited to 'doc/docs/tokens.rst')
-rw-r--r--doc/docs/tokens.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/docs/tokens.rst b/doc/docs/tokens.rst
index 9193d5f4..194eb70f 100644
--- a/doc/docs/tokens.rst
+++ b/doc/docs/tokens.rst
@@ -89,7 +89,7 @@ The `is_token_subtype()` function in the `pygments.token` module can be used to
test if a token type is a subtype of another (such as `Name.Tag` and `Name`).
(This is the same as ``Name.Tag in Name``. The overloaded `in` operator was newly
introduced in Pygments 0.7, the function still exists for backwards
-compatiblity.)
+compatibility.)
With Pygments 0.7, it's also possible to convert strings to token types (for example
if you want to supply a token from the command line):
@@ -160,7 +160,7 @@ Name Tokens
other languages constants are uppercase by definition (Ruby).
`Name.Decorator`
- Token type for decorators. Decorators are synatic elements in the Python
+ Token type for decorators. Decorators are syntactic elements in the Python
language. Similar syntax elements exist in C# and Java.
`Name.Entity`