projects
/
linpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved example diamonds.py
[linpy.git]
/
pypol
/
geometry.py
diff --git
a/pypol/geometry.py
b/pypol/geometry.py
index
ea751ae
..
1dc50eb
100644
(file)
--- a/
pypol/geometry.py
+++ b/
pypol/geometry.py
@@
-71,6
+71,9
@@
class Coordinates:
__getitem__ = coordinate
+ def values(self):
+ yield from self._coordinates.values()
+
def __bool__(self):
return any(self._coordinates.values())