Permalink
Browse files

PhylipIO.py: removed a Python 2.4-specific hack for 'any'

More fun with git-grep.
  • Loading branch information...
etal committed Nov 8, 2012
1 parent 52f5bbf commit 99a1bea93b747f17359531041987e04f7d7d5d94
Showing with 0 additions and 10 deletions.
  1. +0 −10 Bio/AlignIO/PhylipIO.py
View
@@ -39,16 +39,6 @@
from Bio.Align import MultipleSeqAlignment
from Interfaces import AlignmentIterator, SequentialAlignmentWriter
-try:
- any
-except NameError:
- #Hack for Python 2.4
- def any(iterable):
- for element in iterable:
- if element:
- return True
- return False
-
_PHYLIP_ID_WIDTH = 10

0 comments on commit 99a1bea

Please sign in to comment.