Skip to content

[CodeStyle][DocFormat][117] Use pycon marker in distributed runtime docs#77980

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

[CodeStyle][DocFormat][117] Use pycon marker in distributed runtime docs#77980
SigureMo merged 2 commits intoPaddlePaddle:developfrom
ShigureNyako:docs/migrate-docstring-highlight-markers-117

Conversation

@ShigureNyako
Copy link
Contributor

PR Category

User Experience

PR Types

Docs

Description

Migrate docstring example markers from .. code-block:: python to .. code-block:: pycon in distributed runtime related docs.

Updated files:

  • python/paddle/distributed/parallel_with_gloo.py
  • python/paddle/distributed/communicator.py
  • python/paddle/distributed/fleet/model.py

Also ran ruff format on touched files.

Related PRs:

是否引起精度变化

@ShigureNyako
Copy link
Contributor Author

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

@SigureMo 辛苦帮忙 review 🙏

@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
@SigureMo SigureMo changed the title [CodeStyle][DocFormat][117] Use pycon marker in distributed runtime docs [CodeStyle][DocFormat][117] Use pycon marker in distributed runtime docs Feb 19, 2026
@ShigureNyako
Copy link
Contributor Author

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

  • python/paddle/distributed/fleet/model.py
  • python/paddle/distributed/parallel_with_gloo.py

本次针对 4 处 pycon 多行调用补充了 trailing comma,并已执行 ruff format

@SigureMo 辛苦再看一眼 🙏

@SigureMo SigureMo merged commit c3f2dee into PaddlePaddle:develop Feb 19, 2026
194 of 205 checks passed
@SigureMo SigureMo deleted the docs/migrate-docstring-highlight-markers-117 branch February 19, 2026 12:05
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