Fix sentences to be more readable

This commit is contained in:
Vincent Driessen 2016-11-03 22:17:37 +01:00
parent f5c5d33639
commit b2d7dfe546

View File

@ -47,8 +47,8 @@ The following is an example for creating a DateTime scalar:
Mounting Scalars Mounting Scalars
---------------- ----------------
These scalars, if are mounted in a ``ObjectType``, ``Interface`` or If a scalar is mounted in an ``ObjectType``, ``Interface`` or
``Mutation``, act as ``Field``\ s. Note: when using the ``Field`` constructor directly, pass the type and not an instance. ``Mutation``, they act as ``Field``\ s:
.. code:: python .. code:: python
@ -60,7 +60,11 @@ These scalars, if are mounted in a ``ObjectType``, ``Interface`` or
name = graphene.Field(graphene.String) name = graphene.Field(graphene.String)
If the types are mounted in a ``Field``, would act as ``Argument``\ s. **Note:** when using the ``Field`` constructor directly, pass the type and
not an instance.
If the types are mounted in a ``Field``, they act as ``Argument``\ s:
.. code:: python .. code:: python