deepcopys almost everything (functions, lambda ... )
Project description
deepcopys almost everything (functions, lambda ... )
pip install deepcopyall
from deepcopyall import deepcopy
class bibi:
def __init__(self, bebe=112):
self.bebe = bebe
def printbebe(self):
print(self.bebe)
baba = lambda: print("baba")
def buax(x):
print(x)
return x
baba2 = deepcopy(o=baba)
baba2()
buax2 = deepcopy(o=buax)
q = buax2(444)
print(q)
bibi2 = deepcopy(o=bibi)
bibi2inst = bibi2(23323)
bibi2inst.printbebe()
#output
baba
444
444
23323
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
deepcopyall-0.10.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file deepcopyall-0.10.tar.gz
.
File metadata
- Download URL: deepcopyall-0.10.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d85ad53ac44385068038a9ded330b83dfe1d8f7235a4672dfb9072fedf8e34dd |
|
MD5 | 108607d35deacc1538df88a3848075a1 |
|
BLAKE2b-256 | dd9146ef4b3c009eba31d2ab6d0a234f94906bbb3ac6efba9d485bd701d0c5da |
File details
Details for the file deepcopyall-0.10-py3-none-any.whl
.
File metadata
- Download URL: deepcopyall-0.10-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 813031d37f09c27bce8126768751f64ac8382273a40d55a104f2ea7bee0938d7 |
|
MD5 | 2963fc3fb4b3a12ac697d0f3bbbe588b |
|
BLAKE2b-256 | fca6fcc131cc26845f9593b8716d3a708cb0d0a8e7179b13a48405a7429a3e8c |