File tree 1 file changed +10
-20
lines changed
1 file changed +10
-20
lines changed Original file line number Diff line number Diff line change @@ -20,30 +20,20 @@ New features
20
20
21
21
* added official support for Python 3 .9 (0 .32 .3 already supports it even though it was not mentioned).
22
22
23
- * added a feature (see the :ref:`miscellaneous section <misc>` for details). It works on :ref:`api-axis` and
24
- :ref:`api-group` objects.
23
+ * added :py:obj:` CheckedSession` , :py:obj:` CheckedParameters` and :py:obj:` CheckedArray` objects.
25
24
26
- Here is an example of the new feature:
25
+ ` CheckedSession` is intended to be inherited by user defined classes in which the variables of a model
26
+ are declared. By declaring variables, users will speed up the development of their models using the auto- completion
27
+ (the feature in which development tools like PyCharm try to predict the variable or function a user intends
28
+ to enter after only a few characters have been typed). All user defined classes inheriting from ` CheckedSession`
29
+ will have access to the same methods as ` Session` objects.
27
30
28
- >>> arr = ndtest((2 , 3 ))
29
- >>> arr
30
- a\b b0 b1 b2
31
- a0 0 1 2
32
- a1 3 4 5
31
+ ` CheckedParameters` is the same as ` CheckedSession` but the declared variables cannot be
32
+ modified after initialization.
33
33
34
- And it can also be used like this:
34
+ The special :py:funct: ` CheckedArray ` type represents an Array object with fixed axes and / or dtype.
35
35
36
- >>> arr = ndtest(" a=a0..a2" )
37
- >>> arr
38
- a a0 a1 a2
39
- 0 1 2
40
-
41
- * added another feature in the editor (closes :editor_issue:`1 `).
42
-
43
- .. note::
44
-
45
- - It works for foo bar !
46
- - It does not work for foo baz !
36
+ Closes :issue:` 832` .
47
37
48
38
49
39
.. _misc:
You can’t perform that action at this time.
0 commit comments