Drop stale superset-leniency note from ElicitResult.content docstring by maxisbey · Pull Request #2884 · modelcontextprotocol/python-sdk
Removes a stale paragraph from the ElicitResult.content docstring in the superset monolith.
Motivation and Context
The docstring claimed the None arm in the content value union was superset-only leniency and that "the schema-exact surface types declare no null arm." As of #2849, both committed per-version packages (v2025_11_25 and v2026_07_28) declare | None in their generated ElicitResult.content value union, so the note is now incorrect.
How Has This Been Tested?
Docstring-only change. ruff format, ruff check, and pyright pass on the touched file; pre-commit hooks pass.
Breaking Changes
None.
Types of changes
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to change)
- Documentation update
Checklist
- I have read the MCP Documentation
- My code follows the repository's style guidelines
- New and existing tests pass locally
- I have added appropriate error handling
- I have added or updated documentation as needed
Additional context
Follow-up nit on #2849.