From 172cafa6292658664dc8ba8acedcc983b0bf1354 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sat, 1 Apr 2017 10:12:17 +0200 Subject: [PATCH] Docs for #1937 --- waflib/Node.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/waflib/Node.py b/waflib/Node.py index 39eb86d9..c3cb4169 100644 --- a/waflib/Node.py +++ b/waflib/Node.py @@ -716,7 +716,9 @@ class Node(object): def get_src(self): """ - Returns the corresponding Node object in the source directory (or self if not possible) + Returns the corresponding Node object in the source directory (or self if already + under the source directory). Use this method only if the purpose is to create + a Node object (this is common with folders but not with files, see ticket 1937) :rtype: :py:class:`waflib.Node.Node` """ @@ -736,7 +738,9 @@ class Node(object): def get_bld(self): """ - Return the corresponding Node object in the build directory (or self if not possible) + Return the corresponding Node object in the build directory (or self if already + under the build directory). Use this method only if the purpose is to create + a Node object (this is common with folders but not with files, see ticket 1937) :rtype: :py:class:`waflib.Node.Node` """