Skip to content

Commit 16f511a

Browse files
committed
Fix typo
1 parent e3dc192 commit 16f511a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dpath/util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from dpath import options
55
from dpath.exceptions import InvalidKeyName
66

7-
_DEFAULT_SENTINAL = object()
7+
_DEFAULT_SENTINEL = object()
88
MERGE_REPLACE = (1 << 1)
99
MERGE_ADDITIVE = (1 << 2)
1010
MERGE_TYPESAFE = (1 << 3)
@@ -146,7 +146,7 @@ def f(obj, pair, counter):
146146
return changed
147147

148148

149-
def get(obj, glob, separator='/', default=_DEFAULT_SENTINAL):
149+
def get(obj, glob, separator='/', default=_DEFAULT_SENTINEL):
150150
"""
151151
Given an object which contains only one possible match for the given glob,
152152
return the value for the leaf matching the given glob.
@@ -172,7 +172,7 @@ def f(obj, pair, results):
172172
results = dpath.segments.fold(obj, f, [])
173173

174174
if len(results) == 0:
175-
if default is not _DEFAULT_SENTINAL:
175+
if default is not _DEFAULT_SENTINEL:
176176
return default
177177

178178
raise KeyError(glob)

0 commit comments

Comments
 (0)