summaryrefslogtreecommitdiff
path: root/doc/usage/extensions/example_numpy.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-1/+0
| | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie.
* Remove unnecessary object from class definitionsJon Dufresne2018-09-111-1/+1
| | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary.
* doc: Add "extensions" to usage guideStephen Finucane2018-06-201-0/+356
Signed-off-by: Stephen Finucane <stephen@that.guru>