three typo fixes i found in my sandbox

This commit is contained in:
Roger Dingledine 2016-07-25 20:17:35 -04:00
parent 518c8fe0ec
commit 81cc31d3fa
1 changed files with 3 additions and 3 deletions

View File

@ -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.