Documentation import fixes (#11070)
* Move asyncdispatch imports below introduction * Move nre imports below documentation
This commit is contained in:
parent
375b444ecd
commit
88079a0dee
2 changed files with 23 additions and 29 deletions
|
|
@ -6,18 +6,6 @@
|
|||
# distribution, for details about the copyright.
|
||||
#
|
||||
|
||||
|
||||
from pcre import nil
|
||||
import nre/private/util
|
||||
import tables
|
||||
from strutils import `%`
|
||||
from math import ceil
|
||||
import options
|
||||
from unicode import runeLenAt
|
||||
|
||||
export options
|
||||
|
||||
|
||||
## What is NRE?
|
||||
## ============
|
||||
##
|
||||
|
|
@ -67,6 +55,15 @@ runnableExamples:
|
|||
let matchBounds = firstVowel.get().captureBounds[-1]
|
||||
doAssert matchBounds.a == 1
|
||||
|
||||
from pcre import nil
|
||||
import nre/private/util
|
||||
import tables
|
||||
from strutils import `%`
|
||||
from math import ceil
|
||||
import options
|
||||
from unicode import runeLenAt
|
||||
|
||||
export options
|
||||
|
||||
# Type definitions {{{
|
||||
type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue