Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
Lichen
tests/values.py
1045:e6010ccae0c0
1034:2df62f615d0c
1017:cdd61ff46fb7
5 months ago
Paul Boddie
raw
annotate
files
changeset
graph
Avoid creating zero-length temporary arrays.
value-replacement
1
def
test
(
a
):
2
a
=
a
-
1.0
3
return
a
4
5
x
=
2.0
6
print
test
(
x
)
# 1.0
7
print
x
# 2.0