Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-101552: Allow pydoc to display signatures in source format (#124669) | Jelle Zijlstra | 2024-10-09 | 1 | -5/+5 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-113878: Add `doc` parameter to `dataclasses.field` (gh-114051) | sobolevn | 2024-09-27 | 1 | -0/+8 |
| | | | If using `slots=True`, the `doc` parameter ends up in the `__slots__` dict. The `doc` parameter is also in the corresponding `Field` object. | ||||
* | gh-122129: Improve support of method descriptors and wrappers in the help ↵ | Serhiy Storchaka | 2024-07-23 | 1 | -3/+10 |
| | | | | title (GH-122157) | ||||
* | gh-120417: Add #noqa: F401 to tests (#120627) | Victor Stinner | 2024-06-18 | 1 | -1/+2 |
| | | | | Ignore linter "imported but unused" warnings in tests when the linter doesn't understand how the import is used. | ||||
* | gh-120590: Fix test_pydoc in the refleak hunting mode (GH-120615) | Serhiy Storchaka | 2024-06-18 | 1 | -8/+32 |
| | | | | | | Mocking only works if sys.modules['pydoc'] and pydoc are the same, but some pydoc functions reload the module and change sys.modules. Ensure that sys.modules['pydoc'] is always restored after the corresponding tests. | ||||
* | gh-120541: Improve the "less" prompt in pydoc (GH-120543) | Serhiy Storchaka | 2024-06-15 | 1 | -13/+49 |
| | | | | | When help() is called with non-string argument, use __qualname__ or __name__ if available, otherwise use "{typename} object". | ||||
* | gh-119180: PEP 649 compiler changes (#119361) | Jelle Zijlstra | 2024-06-11 | 1 | -3/+8 |
| | |||||
* | bpo-37755: Use configured output in pydoc instead of pager (GH-15105) | Enrico Tröger | 2024-06-08 | 1 | -18/+107 |
| | | | | | | | If the Helper() class was initialized with an output, the topics, keywords and symbols help still use the pager instead of the output. Change the behavior so the output is used if available while keeping the previous behavior if no output was configured. | ||||
* | gh-116303: Skip test module dependent tests if test modules are unavailable ↵ | Erlend E. Aasland | 2024-04-03 | 1 | -6/+6 |
| | | | | (#117341) | ||||
* | gh-113942: Show functions implemented as builtin methods (GH-115306) | Serhiy Storchaka | 2024-02-26 | 1 | -0/+12 |
| | | | | Pydoc no longer skips global functions implemented as builtin methods, such as MethodDescriptorType and WrapperDescriptorType. | ||||
* | gh-101860: Expose __name__ on property (GH-101876) | Eugene Toder | 2024-02-20 | 1 | -6/+17 |
| | | | | | Useful for introspection and consistent with functions and other descriptors. | ||||
* | gh-107155: Fix help() for lambda function with return annotation (GH-107401) | Kirill Podoprigora | 2024-02-17 | 1 | -0/+24 |
| | |||||
* | gh-108303: Move all `pydoc` related test files to new `test.test_pydoc` ↵ | Nikita Sobolev | 2024-02-13 | 1 | -0/+2015 |
package (#114506) |