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