mirror of https://gitlab.com/ita1024/waf.git
Fix typo in documentation.
This commit is contained in:
parent
f69602d1df
commit
af9a1a249d
|
@ -400,7 +400,7 @@ def feature(*k):
|
|||
Decorator that registers a task generator method that will be executed when the
|
||||
object attribute ``feature`` contains the corresponding key(s)::
|
||||
|
||||
from waflib.Task import feature
|
||||
from waflib.TaskGen import feature
|
||||
@feature('myfeature')
|
||||
def myfunction(self):
|
||||
print('that is my feature!')
|
||||
|
|
Loading…
Reference in New Issue