[pypy-svn] r9894 - pypy/dist/pypy/lib

amcintyre at codespeak.net amcintyre at codespeak.net
Sat Mar 19 18:02:11 CET 2005

Author: amcintyre
Date: Sat Mar 19 18:02:10 2005
New Revision: 9894

Moved import after docstring.

Modified: pypy/dist/pypy/lib/struct.py
--- pypy/dist/pypy/lib/struct.py	(original)
+++ pypy/dist/pypy/lib/struct.py	Sat Mar 19 18:02:10 2005
@@ -1,5 +1,3 @@
-import math,sys
 """Functions to convert between Python values and C structs. 
 Python strings are used to hold the data representing the C struct 
 and also as format strings to describe the layout of data in the C struct.
@@ -36,6 +34,8 @@
 The variable struct.error is an exception raised on errors."""
+import math,sys
 # TODO: XXX Find a way to get information on native sizes and alignments
 class StructError(Exception):

More information about the Pypy-commit mailing list