Skip to content

[CodeStyle][DocFormat][116] Use pycon marker in distributed rpc/fleet util docs#77979

Merged
SigureMo merged 2 commits intoPaddlePaddle:developfrom
ShigureNyako:docs/migrate-docstring-highlight-markers-116
Feb 19, 2026
Merged

[CodeStyle][DocFormat][116] Use pycon marker in distributed rpc/fleet util docs#77979
SigureMo merged 2 commits intoPaddlePaddle:developfrom
ShigureNyako:docs/migrate-docstring-highlight-markers-116

Conversation

@ShigureNyako
Copy link
Contributor

@ShigureNyako ShigureNyako commented Feb 19, 2026

PR Category

User Experience

PR Types

Docs

Description

Migrate docstring example markers from .. code-block:: python to .. code-block:: pycon in distributed RPC and fleet util docs.

Updated files:

  • python/paddle/distributed/rpc/rpc.py
  • python/paddle/distributed/fleet/base/util_factory.py

Also ran ruff format on touched files.

Related PRs:

是否引起精度变化

@paddle-bot
Copy link

paddle-bot bot commented Feb 19, 2026

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Feb 19, 2026
@ShigureNyako
Copy link
Contributor Author

自检完成:本 PR 仅将 docstring 中的 .. code-block:: python 迁移为 .. code-block:: pycon,未改动示例语义。

@SigureMo 辛苦帮忙 review 🙏

@ShigureNyako
Copy link
Contributor Author

已完成本轮 review 修改并推送 commit 945e5268ee

  • python/paddle/distributed/fleet/base/util_factory.py
  • python/paddle/distributed/rpc/rpc.py

本次按 review 建议补齐了 10 处 pycon 多行调用的 trailing comma,并已 ruff format。所有对应 thread 已逐条回复并标记 resolved。

@SigureMo 麻烦有空再帮我看一眼,感谢 🙏

@ShigureNyako
Copy link
Contributor Author

已完成本轮 review 修改并推送 commit 945e5268ee

本次按建议补齐了 10 处 pycon 多行调用的 trailing comma,并执行了 ruff format。对应 review threads 已全部处理。

@SigureMo 麻烦有空再帮我看一眼,感谢 🙏

@SigureMo SigureMo changed the title [CodeStyle][DocFormat][116] Use pycon marker in distributed rpc/fleet util docs [CodeStyle][DocFormat][116] Use pycon marker in distributed rpc/fleet util docs Feb 19, 2026
@SigureMo SigureMo merged commit 2a7b604 into PaddlePaddle:develop Feb 19, 2026
241 of 263 checks passed
@SigureMo SigureMo deleted the docs/migrate-docstring-highlight-markers-116 branch February 19, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers skip-ci: all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments