refactor os imports into corresponding small modules (#20720)
This commit is contained in:
parent
d735c447d3
commit
6166b796ba
8 changed files with 11 additions and 8 deletions
|
|
@ -18,7 +18,7 @@
|
|||
##
|
||||
## Unstable API.
|
||||
|
||||
from os import raiseOSError, osLastError
|
||||
from std/oserrors import raiseOSError, osLastError
|
||||
|
||||
template distance*(lhs, rhs: pointer): int =
|
||||
cast[int](rhs) - cast[int](lhs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue