ch11-24: clean up by @eumiro & sync with Atlas
This commit is contained in:
6
13-protocol-abc/double/double_sequence.py
Normal file
6
13-protocol-abc/double/double_sequence.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from collections import abc
|
||||
from typing import Any
|
||||
|
||||
def double(x: abc.Sequence) -> Any:
|
||||
return x * 2
|
||||
|
||||
Reference in New Issue
Block a user