File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,10 @@ class to support pickling and the `createByType` factory.
119
119
tp : str
120
120
string type identifying a registered @NAME@ class.
121
121
122
- Returns a new instance of the @NAME@-derived class.
122
+ Returns
123
+ -------
124
+ @NAME@
125
+ A new instance of the @NAME@-derived class named `tp`.
123
126
124
127
See Also
125
128
--------
@@ -129,15 +132,18 @@ class to support pickling and the `createByType` factory.
129
132
130
133
131
134
doc_HasClassRegistry_isRegisteredType = """\
132
- Check if the given string is registered as a @NAME@ type.
135
+ Check if the given string is registered as a named @NAME@ type.
133
136
134
137
Parameters
135
138
----------
136
139
tp : str
137
140
string name or an alias to be checked.
138
141
139
- Return ``True`` if `tp` is known to the registry either as
140
- a standard type or its alias.
142
+ Returns
143
+ -------
144
+ bool
145
+ ``True`` if `tp` is known to the registry either as a standard
146
+ type or its alias.
141
147
"""
142
148
143
149
@@ -152,7 +158,12 @@ class to support pickling and the `createByType` factory.
152
158
153
159
154
160
doc_HasClassRegistry_getRegisteredTypes = """\
155
- Return a set of string types of the registered @NAME@ classes.
161
+ Get string types of all registered @NAME@ classes.
156
162
157
163
These are the allowed arguments for the `createByType` factory.
164
+
165
+ Returns
166
+ -------
167
+ set
168
+ the registered string types.
158
169
"""
You can’t perform that action at this time.
0 commit comments