Skip to content

Commit 39598f6

Browse files
Merge pull request #923 from kabilar/master
Fix minor documentation typos
2 parents d4fb01d + 6d48461 commit 39598f6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs-parts/existing/1-Loading-Classes_lang1.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ not have classes declared to interact with it.
7070

7171
So let's start over in this scenario.
7272

73-
You can may use the ``dj.list_schemas`` function (new in DataJoint 0.12.0) to
73+
You may use the ``dj.list_schemas`` function (new in DataJoint 0.12.0) to
7474
list the names of database schemas available to you.
7575

7676
.. code-block:: python
@@ -112,13 +112,13 @@ these tables. A similar situation arises when another developer has added new
112112
tables to the schema but has not yet shared the updated module code with you.
113113
Then the diagram will show a mixture of class names and database table names.
114114

115-
Now you may use the ``schema.spawn_missing_classes`` method to spawn classes into
115+
Now you may use the ``spawn_missing_classes`` method to spawn classes into
116116
the local namespace for any tables missing their classes:
117117

118118
.. code-block:: python
119119
120120
schema.spawn_missing_classes()
121-
dj.Di(schema)
121+
dj.Diagram(schema)
122122
123123
.. figure:: spawned-classes-ERD.svg
124124
:align: center
@@ -165,7 +165,7 @@ the table classes.
165165

166166
.. code-block:: python
167167
168-
dj.Di(uni)
168+
dj.Diagram(uni)
169169
170170
.. figure:: added-example-ERD.svg
171171
:align: center
@@ -229,7 +229,7 @@ decorator for declaring new tables:
229229
230230
.. code-block:: python
231231
232-
dj.Di(uni)
232+
dj.Diagram(uni)
233233
234234
.. figure:: added-example-ERD.svg
235235
:align: center

0 commit comments

Comments
 (0)