Skip to content

Commit 4cc5065

Browse files
committed
Closure
1 parent 2a263c8 commit 4cc5065

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -558,9 +558,9 @@ class <name>:
558558

559559
### Copy
560560
```python
561-
import copy
562-
<object> = copy.copy(<object>)
563-
<object> = copy.deepcopy(<object>)
561+
from copy import copy, deepcopy
562+
<object> = copy(<object>)
563+
<object> = deepcopy(<object>)
564564
```
565565

566566

0 commit comments

Comments
 (0)