sjndlnv brjkbn added the comment:
I found out that this issue can be fixed by set ``autodoc_preserve_defaults``
to True [(From
sphinx-doc)](https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_preserve_defaults)
On the other hand. I test ``Path.mkdir(mode=511
New submission from sjndlnv brjkbn :
Document for 3.10 version seems auto convert 0o777 to 511. And it's correct for
3.9
(May be due to new version of Sphinx? Seems source code for docs are correct.)
[img]https://i.imgur.com/ByWSJ6A.png[/img]
[img]https://i.imgur.com/rK0romC.png[/img]