Skip to content

Docs: Improve the copy module documentation - #162818

Open
StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:copy-docs
Open

StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:copy-docs

Conversation

@StanFromIreland

Copy link
Copy Markdown
Member

@sirosen pointed this out in the docs community Discord. The copy (and pickle and copyreg, but that's left to a follow up) docs are a little messy, and the longer I looked at them the worse they got. ;-) Hence, this is my suggestion to improve it a little.

I reorganised the doc into "Functions", "Shallow and deep copies" and "Customizing copying" sections. I considered following the style we have for sqlite3 or turtle, but I think it would just unnecessarily extend the page. I also add examples for various features.

I found we currently have some odd wording for copy.replace() support across the docs, so I fixed that too.

@read-the-docs-community

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant