2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-25 19:30:04 +01:00

typo in the API documentation

This commit is contained in:
Thomas Nagy 2012-12-01 17:36:53 +01:00
parent df67c02a0e
commit 79e2901e4e

View File

@ -351,7 +351,7 @@ class Node(object):
def build(bld):
n1 = bld.path.find_node('foo/bar/xyz.txt')
n2 = bld.path.find_node('foo/stuff/')
n1.path_from(n2) # './bar/xyz.txt'
n1.path_from(n2) # '../bar/xyz.txt'
:param node: path to use as a reference
:type node: :py:class:`waflib.Node.Node`