[New-bugs-announce] [issue36490] Modernize function signature format in Archiving section of shutil doc

C.A.M. Gerlach report at bugs.python.org
Sun Mar 31 00:08:08 EDT 2019


New submission from C.A.M. Gerlach <CAM.Gerlach at Gerlach.CAM>:

In the process of updating the documentation for another issue, I noticed that unlike the rest of the shutil doc (and the Python docs in general, not to mention those of virtually every Python package), all the functions in the [Archiving operations section](https://docs.python.org/3/library/shutil.html#archiving-operations) uses the old style, difficult to parse nested-bracket notation for the function signatures, rather then the modern style displaying them as they would be expected to appear in Python code, with clearly and explicitly indicated defaults.

Therefore, given all bracketed items are keyword arguments with defaults, and there are no cases more complex then the standard linearly-nested brackets, is there a particular reason why this was retained? Otherwise, I can go ahead and submit a PR to update this.

----------
assignee: docs at python
components: Documentation
messages: 339243
nosy: CAM-Gerlach, docs at python
priority: normal
severity: normal
status: open
title: Modernize function signature format in Archiving section of shutil doc
versions: Python 3.8

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


More information about the New-bugs-announce mailing list