python: docstrings cleanup
* wrap/python/spot.py: Better docstrings. * wrap/python/tests/formulas.ipynb: Update.
This commit is contained in:
parent
67468acb18
commit
1f0258e9f7
2 changed files with 53 additions and 29 deletions
|
|
@ -246,12 +246,16 @@
|
|||
"Help on function _formula_format in module spot:\n",
|
||||
"\n",
|
||||
"_formula_format(self, spec)\n",
|
||||
" Format the formula according to spec.\n",
|
||||
" Format the formula according to `spec`.\n",
|
||||
" \n",
|
||||
" 'spec' should be a list of letters that select\n",
|
||||
" how the formula should be formatted.\n",
|
||||
" Parameters\n",
|
||||
" ----------\n",
|
||||
" spec : str, optional\n",
|
||||
" a list of letters that specify how the formula\n",
|
||||
" should be formatted.\n",
|
||||
" \n",
|
||||
" Use one of the following letters to select the syntax:\n",
|
||||
" Supported specifiers\n",
|
||||
" --------------------\n",
|
||||
" \n",
|
||||
" - 'f': use Spot's syntax (default)\n",
|
||||
" - '8': use Spot's syntax in UTF-8 mode\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue