aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config/mmdb-convert.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config/mmdb-convert.py b/src/config/mmdb-convert.py
index cbe9acdc5d..3a454a3fc1 100644
--- a/src/config/mmdb-convert.py
+++ b/src/config/mmdb-convert.py
@@ -20,7 +20,7 @@
When given a simplicity/speed tradeoff, it opts for simplicity.
- You will not understand the code without undestanding the MaxMind-DB
+ You will not understand the code without understanding the MaxMind-DB
file format. It is specified at:
https://github.com/maxmind/MaxMind-DB/blob/master/MaxMind-DB-spec.md.
@@ -257,7 +257,7 @@ IGNORE_LEN_TYPES = set([
TP_ARRAY, # Length is number of members that follow.
TP_PTR, # Length is index to pointed-to data element.
TP_BOOL, # Length is 0 or 1.
- TP_DCACHE, # Length isnumber of members that follow
+ TP_DCACHE, # Length is number of members that follow
])
def parse_data_section(s):
@@ -265,7 +265,7 @@ def parse_data_section(s):
Datum items."""
# Stack of possibly nested containers. We use the 'nChildren' member of
- # the last one to tell how many moreitems nest directly inside.
+ # the last one to tell how many more items nest directly inside.
stack = []
# List of all items, including nested ones.