mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-28 04:13:52 +08:00
Merge pyextra subtree
This commit is contained in:
7
pyextra/jsonrpc/tests/py35_utils.py
Normal file
7
pyextra/jsonrpc/tests/py35_utils.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# Python3.5+ code.
|
||||
# This won't even parse in earlier versions, so it's kept in a separate file
|
||||
# and imported when needed.
|
||||
|
||||
|
||||
def distance(a: float, b: float) -> float:
|
||||
return (a ** 2 + b ** 2) ** 0.5
|
||||
Reference in New Issue
Block a user