diff --git a/scapy/contrib/igmpv3.py b/scapy/contrib/igmpv3.py
index 1ab1bae419923e8e196bb85bdc45851fdd15d7c4..65ae222b1f68356472fc4219863732ca6f754873 100644
--- a/scapy/contrib/igmpv3.py
+++ b/scapy/contrib/igmpv3.py
@@ -264,7 +264,6 @@ class IGMPv3(Packet):
     return retCode
 
 
-bind_layers( IP,        IGMPv3,      frag=0, proto=2, ttl=1, tos=0xc0)
-bind_layers( IGMPv3,    IGMPv3gr,    frag=0, proto=2)
-bind_layers( IGMPv3gr,  IGMPv3gr,    frag=0, proto=2)
-
+bind_layers(IP, IGMPv3, frag=0, proto=2, ttl=1, tos=0xc0)
+bind_layers(IGMPv3, IGMPv3gr)
+bind_layers(IGMPv3gr, IGMPv3gr)