[Python-checkins] r56198 - sandbox/trunk/import_in_py/_importlib.py

brett.cannon python-checkins at python.org
Sun Jul 8 22:35:52 CEST 2007


Author: brett.cannon
Date: Sun Jul  8 22:35:52 2007
New Revision: 56198

Modified:
   sandbox/trunk/import_in_py/_importlib.py
Log:
Minor whitespace cleanup.


Modified: sandbox/trunk/import_in_py/_importlib.py
==============================================================================
--- sandbox/trunk/import_in_py/_importlib.py	(original)
+++ sandbox/trunk/import_in_py/_importlib.py	Sun Jul  8 22:35:52 2007
@@ -69,11 +69,13 @@
     original__import__ = __import__
     __builtins__['__import__'] = Import()
 
+
 def _reset__import__():
     """Set __import__ back to the original implementation (assumes
     _set__import__ was called previously)."""
     __builtins__['__import__'] = original__import__
 
+
 def _w_long(x):
     """Convert a 32-bit integer to little-endian.
 
@@ -87,6 +89,7 @@
     bytes.append((x >> 24) & 0xFF)
     return ''.join(chr(x) for x in bytes)
 
+
 def _r_long(bytes):
     """Convert 4 bytes in little-endian to an integer.
 
@@ -99,6 +102,7 @@
     x |= ord(bytes[3]) << 24
     return x
 
+
 def _case_ok(directory, file_name):
     """Verify that file_name (as found in 'directory') has the proper case.
 


More information about the Python-checkins mailing list