Fix docstring for get_nodes()