Browse Source

Add Blob.__slots__.

Jelmer Vernooij 14 years ago
parent
commit
2611c2de12
1 changed files with 2 additions and 0 deletions
  1. 2 0
      dulwich/objects.py

+ 2 - 0
dulwich/objects.py

@@ -479,6 +479,8 @@ class ShaFile(object):
 class Blob(ShaFile):
 class Blob(ShaFile):
     """A Git Blob object."""
     """A Git Blob object."""
 
 
+    __slots__ = ()
+
     type_name = 'blob'
     type_name = 'blob'
     type_num = 3
     type_num = 3