updated the stash() anti-example

This commit is contained in:
Thomas Nagy 2012-10-27 08:36:47 +02:00
parent 5ce68b696a
commit 022e2e6ff3
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ Though several calls to 'stash' can be made, the copies made are shallow, which
[source,python] [source,python]
--------------- ---------------
def configure(ctx): def configure(ctx):
ctx.env.CFLAGS += ['-O2'] ctx.env.CFLAGS.append('-O2')
--------------- ---------------
The methods should always be used instead: The methods should always be used instead: