Skip to content

Commit fef9c46

Browse files
committed
Remove return value from StreamSignature __init__ in Signature inheritance example (Python constructors don't return anything).
1 parent 6e3c582 commit fef9c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0002-interfaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Although some duplication was eliminated, some more remains: currently, it is ne
204204
```python
205205
class StreamSignature(Signature):
206206
def __init__(self, payload_shape):
207-
return super().__init__({
207+
super().__init__({
208208
"payload": Out(payload_shape),
209209
"ready": In(1),
210210
"valid": Out(1)

0 commit comments

Comments
 (0)