Remove user defined docstrings for `builtins.str` by ShaharNaveh · Pull Request #6232 · RustPython/RustPython
Repository navigation
Remove user defined docstrings for builtins.str - #6232
Merged
youknowone merged 1 commit into RustPython:main from ShaharNaveh:remove-str-docs Nov 1, 2025
Merged
Remove user defined docstrings for builtins.str #6232
youknowone merged 1 commit into
RustPython:main from
ShaharNaveh:remove-str-docs
Conversation
ShaharNaveh
commented
Nov 1, 2025
·
edited by coderabbitai
Bot
Loading
Copy link Copy Markdown
Contributor
@youknowone would you object to move https://github.com/RustPython/__doc__.git to this project? (in it's own crate)
Summary by CodeRabbit
- Chores
- Removed internal documentation comments from code with no functional impact or changes to user-facing features.
Remove user defined docstrings
390f9f9
coderabbitai
Bot
commented
Nov 1, 2025
·
edited
Loading
Copy link Copy Markdown
Contributor
WalkthroughDocumentation comments were removed from six PyStr methods (removeprefix, removesuffix, format_map, title, isprintable, istitle) in the builtins module without modifying their implementations or behavior. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
📜 Recent review details Configuration used : Path: .coderabbit.yml Review profile : CHILL Plan : Pro 📥 CommitsReviewing files that changed from the base of the PR and between e096ce7 and 390f9f9 . 📒 Files selected for processing (1)
Thanks for using CodeRabbit ! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. ❤️ ShareComment |
View reviewed changes
youknowone merged commit
a7e8ac6
into
RustPython : main
Nov 1, 2025
youknowone commented Nov 1, 2025
Copy link Copy Markdown
Member
|
@ShaharNaveh I forgot what was the major reason to split it out. Probably the license and workflow part. To integrate it again, guidelines:
|
ShaharNaveh commented Nov 1, 2025
Copy link Copy Markdown
Contributor
Author
I intend to refractor it, either way I'll make it will work.
Sure, will copy CPython license to
I thought of having the generate script to have a |
youknowone commented Nov 1, 2025
Copy link Copy Markdown
Member
The current script is depends on python runtime. Each platform generate their own set of document. To cover the entire platform, the results from different platforms must be merged. |
ShaharNaveh commented Nov 1, 2025
Copy link Copy Markdown
Contributor
Author
Make sense, I don't expect |
youknowone commented Nov 1, 2025
Copy link Copy Markdown
Member
|
Yes, they are. |
Bot
mentioned this pull request Nov 14, 2025 Move
__doc__ crate to crates/doc
#6234
Merged
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment