summaryrefslogtreecommitdiff
path: root/src/examples/excelExpr.py
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@austin.rr.com>2016-08-09 21:24:40 +0000
committerPaul McGuire <ptmcg@austin.rr.com>2016-08-09 21:24:40 +0000
commit9c57a4241aa9d531de00f25ec3fe1723fe7268cc (patch)
tree4f435c112b7cf434e7ec114aa196a5b45907e014 /src/examples/excelExpr.py
parent5b3a2bff031f821ab2b69d157f1b24408b201a1b (diff)
downloadpyparsing-git-9c57a4241aa9d531de00f25ec3fe1723fe7268cc.tar.gz
Add missing authorship attributions and copyrights to examples
Diffstat (limited to 'src/examples/excelExpr.py')
-rw-r--r--src/examples/excelExpr.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/examples/excelExpr.py b/src/examples/excelExpr.py
index 2700100..b98115e 100644
--- a/src/examples/excelExpr.py
+++ b/src/examples/excelExpr.py
@@ -59,10 +59,10 @@ expr << (arithExpr | textExpr)
(EQ + expr).runTests("""\
- =3*A7+5"
- =3*Sheet1!$A$7+5"
- =3*'Sheet 1'!$A$7+5"
- =3*'O''Reilly''s sheet'!$A$7+5"
- =if(Sum(A1:A25)>42,Min(B1:B25),if(Sum(C1:C25)>3.14, (Min(C1:C25)+3)*18,Max(B1:B25)))"
+ =3*A7+5
+ =3*Sheet1!$A$7+5
+ =3*'Sheet 1'!$A$7+5"
+ =3*'O''Reilly''s sheet'!$A$7+5
+ =if(Sum(A1:A25)>42,Min(B1:B25),if(Sum(C1:C25)>3.14, (Min(C1:C25)+3)*18,Max(B1:B25)))
=sum(a1:a25,10,min(b1,c2,d3))
""") \ No newline at end of file