dtlib: fix docstring
The reference is to an incorrect method. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
97535b5969
commit
dcf1fc0592
|
@ -817,7 +817,7 @@ class DT:
|
||||||
|
|
||||||
def has_node(self, path: str) -> bool:
|
def has_node(self, path: str) -> bool:
|
||||||
"""
|
"""
|
||||||
Returns True if the path or alias 'path' exists. See Node.get_node().
|
Returns True if the path or alias 'path' exists. See DT.get_node().
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
self.get_node(path)
|
self.get_node(path)
|
||||||
|
|
Loading…
Reference in a new issue