@@ -28,7 +28,6 @@ class Arg:
2828 - :class:`InvalidSignatureError <dbus_next.InvalidSignatureError>` - If the signature is not valid.
2929 - :class:`InvalidIntrospectionError <dbus_next.InvalidIntrospectionError>` - If the signature is not a single complete type.
3030 """
31-
3231 def __init__ (self ,
3332 signature : Union [SignatureType , str ],
3433 direction : List [ArgDirection ] = None ,
@@ -101,7 +100,6 @@ class Signal:
101100 :raises:
102101 - :class:`InvalidMemberNameError <dbus_next.InvalidMemberNameError>` - If the name of the signal is not a valid member name.
103102 """
104-
105103 def __init__ (self , name : str , args : List [Arg ] = None ):
106104 if name is not None :
107105 assert_member_name_valid (name )
@@ -165,7 +163,6 @@ class Method:
165163 :raises:
166164 - :class:`InvalidMemberNameError <dbus_next.InvalidMemberNameError>` - If the name of this method is not valid.
167165 """
168-
169166 def __init__ (self , name : str , in_args : List [Arg ] = [], out_args : List [Arg ] = []):
170167 assert_member_name_valid (name )
171168
@@ -238,7 +235,6 @@ class Property:
238235 - :class `InvalidSignatureError <dbus_next.InvalidSignatureError>` - If the given signature is not valid.
239236 - :class: `InvalidMemberNameError <dbus_next.InvalidMemberNameError>` - If the member name is not valid.
240237 """
241-
242238 def __init__ (self ,
243239 name : str ,
244240 signature : str ,
@@ -305,7 +301,6 @@ class Interface:
305301 :raises:
306302 - :class:`InvalidInterfaceNameError <dbus_next.InvalidInterfaceNameError>` - If the name is not a valid interface name.
307303 """
308-
309304 def __init__ (self ,
310305 name : str ,
311306 methods : List [Method ] = None ,
@@ -389,7 +384,6 @@ class Node:
389384 :raises:
390385 - :class:`InvalidIntrospectionError <dbus_next.InvalidIntrospectionError>` - If the name is not a valid node name.
391386 """
392-
393387 def __init__ (self , name : str = None , interfaces : List [Interface ] = None , is_root : bool = True ):
394388 if not is_root and not name :
395389 raise InvalidIntrospectionError ('child nodes must have a "name" attribute' )
0 commit comments