Fix descriptions

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
Carl Beekhuizen 2019-06-04 15:37:08 +02:00 committed by GitHub
parent 381fcc3215
commit c06a60c95a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# Building pyspecs from specs.md
The benefits of the particular spec design is that a given `spec.md` file can be converted to a `spec.py` file for the purposes of testing and linting. The result of this is that bugs are discovered and patched more quickly.
The benefit of the particular spec design is that the given markdown files can be converted to a `spec.py` file for the purposes of testing and linting. The result of this is that bugs are discovered and patched more quickly.
Specs can bue built from either a single markdown document or multiple files that must be combined in a given order. Given 2 spec objects, `build_spec.combine_spec_objects` will combine them into a single spec object which, subsequently, can be converted into a `specs.py`.
Specs can be built from either a single markdown document or multiple files that must be combined in a given order. Given 2 spec objects, `build_spec.combine_spec_objects` will combine them into a single spec object which, subsequently, can be converted into a `specs.py`.
## Usage

View File

@ -92,7 +92,7 @@ def bls_switch(fn):
def with_phase0(fn):
"""
Decorator to use phase 0's spec and helpers
Decorator to use phase 0's spec.
"""
def entry(*args, **kw):
kw['spec'] = spec_phase0
@ -102,7 +102,7 @@ def with_phase0(fn):
def with_phase1(fn):
"""
Decorator to use phase 1's spec and helpers
Decorator to use phase 1's spec
"""
def entry(*args, **kw):
kw['spec'] = spec_phase1