From 022e2e6ff3d0991cf8c4f9beec7d172eaeac025a Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sat, 27 Oct 2012 08:36:47 +0200 Subject: [PATCH] updated the stash() anti-example --- docs/book/configuration.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/configuration.txt b/docs/book/configuration.txt index aad206e4..376ebcf5 100644 --- a/docs/book/configuration.txt +++ b/docs/book/configuration.txt @@ -448,7 +448,7 @@ Though several calls to 'stash' can be made, the copies made are shallow, which [source,python] --------------- def configure(ctx): - ctx.env.CFLAGS += ['-O2'] + ctx.env.CFLAGS.append('-O2') --------------- The methods should always be used instead: