Skip to content

[CodeStyle][DocFormat][115] Use pycon marker in device cpu/gpgpu docs#77978

Merged
SigureMo merged 1 commit intoPaddlePaddle:developfrom
ShigureNyako:docs/migrate-docstring-highlight-markers-115
Feb 19, 2026
Merged

[CodeStyle][DocFormat][115] Use pycon marker in device cpu/gpgpu docs#77978
SigureMo merged 1 commit intoPaddlePaddle:developfrom
ShigureNyako:docs/migrate-docstring-highlight-markers-115

Conversation

@ShigureNyako
Copy link
Contributor

PR Category

User Experience

PR Types

Docs

Description

This PR migrates docstring code-block markers from python to pycon for interactive examples in the following files:

  • python/paddle/device/gpgpu_backend.py
  • python/paddle/device/cpu.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.

@ShigureNyako
Copy link
Contributor Author

@SigureMo 自查完成:本 PR 将以下 2 个文件的 docstring 示例标记从 code-block:: python 迁移为 code-block:: pycon,并已执行 ruff format

  • python/paddle/device/gpgpu_backend.py
  • python/paddle/device/cpu.py

仅文档示例标记调整,无运行逻辑改动。辛苦 review 🙏

@paddle-bot paddle-bot bot added the contributor External developers label Feb 19, 2026
@SigureMo SigureMo merged commit bcfb7ed into PaddlePaddle:develop Feb 19, 2026
204 of 218 checks passed
@SigureMo SigureMo deleted the docs/migrate-docstring-highlight-markers-115 branch February 19, 2026 08:54
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