Skip to content

Commit

Permalink
Remove Python2 leftovers (#1514)
Browse files Browse the repository at this point in the history
  • Loading branch information
humitos committed Aug 28, 2023
1 parent c190c00 commit ffdabad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 178 deletions.
34 changes: 8 additions & 26 deletions docs/demo/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,11 @@ API documentation and generated content
:mod:`test_py_module`
=====================

.. only:: python3
.. automodule:: test_py_module.test
:members:
:private-members:
:special-members:

.. automodule:: test_py_module.test
:members:
:private-members:
:special-members:

.. only:: python2

.. automodule:: test_py_module.test_py27
:members:
:private-members:
:special-members:

C++ API
=======
Expand Down Expand Up @@ -153,18 +145,8 @@ Sphinx Extensions
sphinx.ext.autosummary
----------------------

.. only:: python3

.. autosummary::

test_py_module.test.add_numbers
test_py_module.test.subtract_numbers
test_py_module.test.Foo

.. only:: python2

.. autosummary::
.. autosummary::

test_py_module.test_py27.add_numbers
test_py_module.test_py27.subtract_numbers
test_py_module.test_py27.Foo
test_py_module.test.add_numbers
test_py_module.test.subtract_numbers
test_py_module.test.Foo
152 changes: 0 additions & 152 deletions docs/demo/test_py_module/test_py27.py

This file was deleted.

0 comments on commit ffdabad

Please sign in to comment.