Corrected example shown in documentation (#11654) [ci skip]

Used template within example was added to imports.

(cherry picked from commit 0a501932c2)
This commit is contained in:
Akito13
2019-07-04 15:59:29 +02:00
committed by narimiran
parent a9322ed873
commit cbdba3ceb3

View File

@@ -1040,7 +1040,7 @@ template onSignal*(signals: varargs[cint], body: untyped) =
## Example:
##
## .. code-block::
## from posix import SIGINT, SIGTERM
## from posix import SIGINT, SIGTERM, onSignal
## onSignal(SIGINT, SIGTERM):
## echo "bye from signal ", sig