Skip to content

Commit b2d7dfe

Browse files
committed
Fix sentences to be more readable
1 parent f5c5d33 commit b2d7dfe

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/types/scalars.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ The following is an example for creating a DateTime scalar:
4747
Mounting Scalars
4848
----------------
4949

50-
These scalars, if are mounted in a ``ObjectType``, ``Interface`` or
51-
``Mutation``, act as ``Field``\ s. Note: when using the ``Field`` constructor directly, pass the type and not an instance.
50+
If a scalar is mounted in an ``ObjectType``, ``Interface`` or
51+
``Mutation``, they act as ``Field``\ s:
5252

5353
.. code:: python
5454
@@ -60,7 +60,11 @@ These scalars, if are mounted in a ``ObjectType``, ``Interface`` or
6060
name = graphene.Field(graphene.String)
6161
6262
63-
If the types are mounted in a ``Field``, would act as ``Argument``\ s.
63+
**Note:** when using the ``Field`` constructor directly, pass the type and
64+
not an instance.
65+
66+
67+
If the types are mounted in a ``Field``, they act as ``Argument``\ s:
6468

6569
.. code:: python
6670

0 commit comments

Comments
 (0)