diff options
author | Roger Dingledine <arma@torproject.org> | 2016-07-25 20:17:35 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2016-07-25 20:17:35 -0400 |
commit | 81cc31d3fa50110d8e444ae2416beeef46d566c1 (patch) | |
tree | 6e909b9c8020f83c9028603407588aaa27293840 /src/config/mmdb-convert.py | |
parent | 518c8fe0ec375fe852e350ef4455ec8defd8c6b0 (diff) | |
download | tor-81cc31d3fa50110d8e444ae2416beeef46d566c1.tar.gz tor-81cc31d3fa50110d8e444ae2416beeef46d566c1.zip |
three typo fixes i found in my sandbox
Diffstat (limited to 'src/config/mmdb-convert.py')
-rw-r--r-- | src/config/mmdb-convert.py | 6 |
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. |