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:
Martí Bolívar 2023-03-28 22:33:56 -07:00 committed by Marti Bolivar
parent 97535b5969
commit dcf1fc0592

View file

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