git.samba.org
/
jelmer
/
dulwich-libgit2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Blob.__slots__.
[jelmer/dulwich-libgit2.git]
/
dulwich
/
objects.py
diff --git
a/dulwich/objects.py
b/dulwich/objects.py
index 947e22e33f731e5dfcda0d3855d439c37a20deaa..aeea5d32216401095192d1f7992b750613320b96 100644
(file)
--- a/
dulwich/objects.py
+++ b/
dulwich/objects.py
@@
-479,6
+479,8
@@
class ShaFile(object):
class Blob(ShaFile):
"""A Git Blob object."""
+ __slots__ = ()
+
type_name = 'blob'
type_num = 3