Alphabetize compiler.compiles()

pull/1614/head
Daniel Stone 7 years ago
parent e1ffae0580
commit 552c15b978
  1. 12
      docs/markdown/Reference-manual.md

@ -1260,6 +1260,12 @@ the following methods:
the positional argument, you can specify external dependencies to
use with `dependencies` keyword argument.
- `compiles(code)` returns true if the code fragment given in the
positional argument compiles, you can specify external dependencies
to use with `dependencies` keyword argument, `code` can be either a
string containing source code or a `file` object pointing to the
source code.
- `compute_int(expr, ...')` computes the value of the given expression
(as an example `1 + 2`). When cross compiling this is evaluated with
an iterative algorithm, you can specify keyword arguments `low`
@ -1290,12 +1296,6 @@ the following methods:
containing only the arguments supported by the compiler, as if
`has_argument` were called on them individually.
- `compiles(code)` returns true if the code fragment given in the
positional argument compiles, you can specify external dependencies
to use with `dependencies` keyword argument, `code` can be either a
string containing source code or a `file` object pointing to the
source code.
- `has_argument(argument_name)` returns true if the compiler accepts
the specified command line argument, that is, can compile code
without erroring out or printing a warning about an unknown flag,

Loading…
Cancel
Save