No Python documentation found for 'cmpop' — that's because `cmpop` isn't a built-in module or standard library in Python. 🐍
The error you're seeing comes from the interactive help utility. Common reasons:
- Typo (e.g., did you mean `cmp` or `operator`?)
- Third-party module not installed
- Module name not imported
### 🔍 How to get help correctly
Use `help()` in the REPL or run `pydoc` from the terminal:
```bash
python3 -m pydoc # e.g., pydoc math
```
Or inside Python:
```python
>>> help("math") # module name as string
>>> import math; help(math) # imported module object
```
### 💡 Alternative: Quick Reference for Python Help
| Use Case | Command | Description |
|----------|---------|-------------|
| List all modules | `help("modules")` | Shows all available modules |
| Search for a term | `help("term")` | Searches across docs |
| Get help on a function | `help(len)` | Docstring for `len()` |
| Get help on a class | `help(str)` | Full documentation for `str` |
| View module contents | `dir(math)` | List all names in module |
If you were looking for a comparison operator module, try `operator` which provides `eq`, `lt`, `gt`, etc.:
```python
>>> import operator
>>> help(operator.lt)
```
Or if you need the `cmp` function (removed in Python 3), use `(a > b) - (a < b)` as a replacement.
Let me know if you need help with a specific module or concept! 🚀