Skip to main content

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

This version

0.10

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 hashes)

Uploaded Source

Built Distribution

deepcopyall-0.10-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page