Replace double backticks with single backticks - Part 2 out of ~6 (#17206)

This commit is contained in:
Danil Yarantsev 2021-03-01 10:15:26 +03:00 • committed by GitHub
commit 82d8e9bff3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 136 additions and 136 deletions

View file

@ -12,7 +12,7 @@
## Unstable API.
##
## This module implements an event system that is not dependent on external
## graphical toolkits. It was originally called ``NimEE`` because
## graphical toolkits. It was originally called `NimEE` because
## it was inspired by Python's PyEE module. There are two ways you can use
## events: one is a python-inspired way; the other is more of a C-style way.
##

View file

@ -7,7 +7,7 @@
# distribution, for details about the copyright.
#
## This module is deprecated, ``import os`` instead.
## This module is deprecated, `import os` instead.
{.deprecated: "import os.nim instead".}
import os

View file

@ -13,8 +13,8 @@
##
## Supported syntax:
##
## 1. short options - ``-abcd``, where a, b, c, d are names
## 2. long option - ``--foo:bar``, ``--foo=bar`` or ``--foo``
## 1. short options - `-abcd`, where a, b, c, d are names
## 2. long option - `--foo:bar`, `--foo=bar` or `--foo`
## 3. argument - everything else
{.deprecated: "Use the 'parseopt' module instead".}
@ -29,16 +29,16 @@ type
CmdLineKind* = enum ## the detected command line token
cmdEnd, ## end of command line reached
cmdArgument, ## argument detected
cmdLongOption, ## a long option ``--option`` detected
cmdShortOption ## a short option ``-c`` detected
cmdLongOption, ## a long option `--option` detected
cmdShortOption ## a short option `-c` detected
OptParser* =
object of RootObj ## this object implements the command line parser
cmd: seq[string]
pos: int
remainingShortOptions: string
kind*: CmdLineKind ## the detected command line token
key*, val*: string ## key and value pair; ``key`` is the option
## or the argument, ``value`` is not "" if
key*, val*: string ## key and value pair; `key` is the option
## or the argument, `value` is not "" if
## the option was given a value
proc initOptParser*(cmdline: seq[string]): OptParser {.rtl.} =

View file

@ -1,6 +1,6 @@
## This module is a deprecated alias for the ``sha1`` module.
## This module is a deprecated alias for the `sha1` module.
{.deprecated.}
include "../std/sha1"