python-fedora
python-fedora copied to clipboard
`pydoc fedora.accounts.fas2.AccountSystem` says no Python documentation found
trafficstars
The doc mentions the command, but it doesn't seem to work:
[asinha@ankur ~]$ rpm -q python-fedora
python-fedora-0.8.0-2.fc25.noarch
[asinha@ankur ~]$ pydoc fedora.accounts.fas2.AccountSystem
no Python documentation found for 'fedora.accounts.fas2.AccountSystem'
I get the same error on py3 too:
(housekeeping-virtualenv) [asinha@ankur scripts(master %=)]$ which python
~/Documents/02_Code/00_repos/01_others/fedora-freemedia/prod/Housekeeping/housekeeping-virtualenv/bin/python
(housekeeping-virtualenv) [asinha@ankur scripts(master %=)]$ python --version
Python 3.5.2
(housekeeping-virtualenv) [asinha@ankur scripts(master %=)]$ pip install python-fedora
Requirement already satisfied: python-fedora in /home/asinha/Documents/02_Code/00_repos/01_others/fedora-freemedia/prod/Housekeeping/housekeeping-virtualenv/lib/python3.5/site-packages
Requirement already satisfied: munch in /home/asinha/Documents/02_Code/00_repos/01_others/fedora-freemedia/prod/Housekeeping/housekeeping-virtualenv/lib/python3.5/site-packages (from python-fedora)
Requirement already satisfied: six>=1.4.0 in /home/asinha/Documents/02_Code/00_repos/01_others/fedora-freemedia/prod/Housekeeping/housekeeping-virtualenv/lib/python3.5/site-packages (from python-fedora)
Requirement already satisfied: requests in /home/asinha/Documents/02_Code/00_repos/01_others/fedora-freemedia/prod/Housekeeping/housekeeping-virtualenv/lib/python3.5/site-packages (from python-fedora)
Requirement already satisfied: lockfile in /home/asinha/Documents/02_Code/00_repos/01_others/fedora-freemedia/prod/Housekeeping/housekeeping-virtualenv/lib/python3.5/site-packages (from python-fedora)
Requirement already satisfied: beautifulsoup4 in /home/asinha/Documents/02_Code/00_repos/01_others/fedora-freemedia/prod/Housekeeping/housekeeping-virtualenv/lib/python3.5/site-packages (from python-fedora)
Requirement already satisfied: urllib3 in /home/asinha/Documents/02_Code/00_repos/01_others/fedora-freemedia/prod/Housekeeping/housekeeping-virtualenv/lib/python3.5/site-packages (from python-fedora)
Requirement already satisfied: kitchen in /home/asinha/Documents/02_Code/00_repos/01_others/fedora-freemedia/prod/Housekeeping/housekeeping-virtualenv/lib/python3.5/site-packages (from python-fedora)
(housekeeping-virtualenv) [asinha@ankur scripts(master %=)]$ pydoc fedora.accounts.fas2.AccountSystem
No Python documentation found for 'fedora.accounts.fas2.AccountSystem'.
Use help() to get the interactive help utility.
Use help(str) for help on the str class.
From the looks of it, it is now from fedora.client import AccountSystem.
In https://github.com/fedora-infra/python-fedora/pull/214, the documentation is corrected.