| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
`src/cleo/__init__.py` defines only `__version__`, so every documented example fails
on its first line:
>>> from cleo import Command
ImportError: cannot import name 'Command' from 'cleo'
Six occurrences across three documents, including the first code block in the
introduction - the one a new user copies before anything else.
Corrected to the paths the project's own tests use:
from cleo.commands.command import Command
from cleo.application import Application
Both verified to import against this tree.
| Back | FazBrowse Home | New Git URL |
src/cleo/__init__.py defines only __version__ and exports nothing, so every documented example fails on its first line:
That includes the first code block in the introduction, the one a new user copies before anything else works.
Six occurrences, three documents
Corrected to the paths the project's own tests use
Both were executed against this tree before pushing: the old import raises, the new ones resolve.
Found with docproof, which checks documentation claims against the code. It flagged cleo.Command as not defined, imported, or re-exported anywhere in cleo; the other five turned up when I went looking for the same shape.