[docs] [issue36490] Modernize function signature format in Archiving section of shutil doc

Inada Naoki report at bugs.python.org
Mon Apr 1 01:37:23 EDT 2019


Inada Naoki <songofacandy at gmail.com> added the comment:

I don' think they are modern-style vs legacy-style.

When explicit default value is present, the default value is documented in signature like `param=42`.
On the other hand, when default value is not explicit (just an placeholder), the parameter is expressed using optional group `[param]`.

----------
nosy: +inada.naoki

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36490>
_______________________________________


More information about the docs mailing list