Skip to content
Browse files

Import with_statement for backwards compatibility

  • Loading branch information...
1 parent 3be3913 commit 1fb098f77be4e4d49f1daaee6cc4397a85127a39 @DavidCain DavidCain committed with etal Jan 10, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 Bio/PDB/PDBList.py
View
3 Bio/PDB/PDBList.py
@@ -20,6 +20,9 @@
""" Access the PDB over the internet (e.g. to download structures). """
+# For using with statement in Python 2.5 or Jython
+from __future__ import with_statement
+
import contextlib
import gzip
import os

0 comments on commit 1fb098f

Please sign in to comment.
Something went wrong with that request. Please try again.