Commit 0eadaac7 authored by Tim Peters's avatar Tim Peters

Whitespace normalization.

parent 0822ff7c
...@@ -528,4 +528,3 @@ def _insensitiveindex(lst, findme): ...@@ -528,4 +528,3 @@ def _insensitiveindex(lst, findme):
return key return key
else: else:
raise ValueError("value not in list") raise ValueError("value not in list")
...@@ -192,4 +192,3 @@ class DB(DictMixin): ...@@ -192,4 +192,3 @@ class DB(DictMixin):
if db.version() >= (4,1): if db.version() >= (4,1):
def set_encrypt(self, *args, **kwargs): def set_encrypt(self, *args, **kwargs):
return apply(self._cobj.set_encrypt, args, kwargs) return apply(self._cobj.set_encrypt, args, kwargs)
...@@ -296,6 +296,3 @@ class DBShelfCursor: ...@@ -296,6 +296,3 @@ class DBShelfCursor:
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
from csv import * from csv import *
...@@ -284,6 +284,3 @@ class Sniffer: ...@@ -284,6 +284,3 @@ class Sniffer:
hasHeader -= 1 hasHeader -= 1
return hasHeader > 0 return hasHeader > 0
...@@ -120,4 +120,3 @@ def search_function(encoding): ...@@ -120,4 +120,3 @@ def search_function(encoding):
# Register the search_function in the Python codec registry # Register the search_function in the Python codec registry
codecs.register(search_function) codecs.register(search_function)
...@@ -1380,4 +1380,3 @@ def _match_abbrev (s, wordmap): ...@@ -1380,4 +1380,3 @@ def _match_abbrev (s, wordmap):
# which will become a factory function when there are many Option # which will become a factory function when there are many Option
# classes. # classes.
make_option = Option make_option = Option
...@@ -270,4 +270,3 @@ def in_table_d1(code): ...@@ -270,4 +270,3 @@ def in_table_d1(code):
def in_table_d2(code): def in_table_d2(code):
return unicodedata.bidirectional(code) == "L" return unicodedata.bidirectional(code) == "L"
...@@ -631,4 +631,3 @@ class MixinStrUserStringTest: ...@@ -631,4 +631,3 @@ class MixinStrUserStringTest:
self.checkraises(TypeError, 'xyz', 'decode', 42) self.checkraises(TypeError, 'xyz', 'decode', 42)
self.checkraises(TypeError, 'xyz', 'encode', 42) self.checkraises(TypeError, 'xyz', 'encode', 42)
...@@ -92,4 +92,3 @@ def test_main(): ...@@ -92,4 +92,3 @@ def test_main():
if __name__ == "__main__": if __name__ == "__main__":
test_main() test_main()
...@@ -63,4 +63,3 @@ try: ...@@ -63,4 +63,3 @@ try:
except KeyboardInterrupt: except KeyboardInterrupt:
if verbose: if verbose:
print "KeyboardInterrupt (assume the alarm() went off)" print "KeyboardInterrupt (assume the alarm() went off)"
...@@ -86,5 +86,3 @@ verify(not in_table_d2(u"\u0040")) ...@@ -86,5 +86,3 @@ verify(not in_table_d2(u"\u0040"))
# h = sha.sha() # h = sha.sha()
# h.update(data) # h.update(data)
# print p,h.hexdigest() # print p,h.hexdigest()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment