~ubuntu-branches/debian/sid/python-biopython/sid

« back to all changes in this revision

Viewing changes to Bio/DocSQL.py

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2014-06-08 10:25:35 UTC
  • mfrom: (1.1.22)
  • Revision ID: package-import@ubuntu.com-20140608102535-ebgnhcpcrum3i3w8
Tags: 1.64+dfsg-1
* New upstream version
* Build-Depends raxml only on those architectures where it is available
  Closes: #750845

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
 
145
145
    if sys.version_info[0] < 3:
146
146
        def next(self):
147
 
            """Deprecated Python 2 style alias for Python 3 style __next__ method."""
148
 
            import warnings
149
 
            from Bio import BiopythonDeprecationWarning
150
 
            warnings.warn("Please use next(my_iterator) instead of my_iterator.next(), "
151
 
                          "the .next() method is deprecated and will be removed in a "
152
 
                          "future release of Biopython.", BiopythonDeprecationWarning)
 
147
            """Python 2 style alias for Python 3 style __next__ method."""
153
148
            return self.__next__()
154
149
 
155
150