Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325
3 \o"ã@sjdZddlZddlZddlmZGdd„deƒZeZyddlm Z Wne k r\dZ YnXdddgZ d d„Z iZ Zd d „ZxHedƒeeeeeeeeeeeejeeƒeeƒejejfD] Z eee <qºWe!ed dƒZ e dk ræeee <e"j ee"<e#j ee#<e$j ee$<e%j ee%<e dk �r"e j ee <[[ dgfd d„Z&iZ'Zdd„Z(e(eedƒ<e(eeeƒ<e(eeeƒ<e(ee<e(ee<e(ee<e(ee<e(ee<e(ee<ye(eej)<Wne*k �r¼YnXe(ee<e(eej<e(eej<e(eej<e&fdd„Z+e+ee"<e&fdd„Z,e,ee<e&fdd„Z-e-ee#<e dk �r2e-ee <dd„Z.e.eej/<[dd„Z0ddde&fdd„Z1[[[ dS)aÍGeneric (shallow and deep) copying operations. Interface summary: import copy x = copy.copy(y) # make a shallow copy of y x = copy.deepcopy(y) # make a deep copy of y For module specific errors, copy.Error is raised. The difference between shallow and deep copying is only relevant for compound objects (objects that contain other objects, like lists or class instances). - A shallow copy constructs a new compound object and then (to the extent possible) inserts *the same objects* into it that the original contains. - A deep copy constructs a new compound object and then, recursively, inserts *copies* into it of the objects found in the original. Two problems often exist with deep copy operations that don't exist with shallow copy operations: a) recursive objects (compound objects that, directly or indirectly, contain a reference to themselves) may cause a recursive loop b) because deep copy copies *everything* it may copy too much, e.g. administrative data structures that should be shared even between copies Python's deep copy operation avoids these problems by: a) keeping a table of objects already copied during the current copying pass b) letting user-defined classes override the copying operation or the set of components copied This version does not copy types like module, class, function, method, nor stack trace, stack frame, nor file, socket, window, nor array, nor any similar types. Classes can use the same interfaces to control copying that they use to control pickling: they can define methods called __getinitargs__(), __getstate__() and __setstate__(). See the documentation for module "pickle" for information on these methods. éN)Údispatch_tablec@s eZdZdS)ÚErrorN)Ú__name__Ú __module__Ú __qualname__©rrú/usr/lib64/python3.6/copy.pyr7sr)Ú PyStringMapÚcopyÚdeepcopyc CsÞt|ƒ}tj|ƒ}|r||ƒSyt|tƒ}Wntk rDd}YnX|rRt|ƒSt|ddƒ}|rj||ƒStj|ƒ}|r‚||ƒ}n>t|ddƒ}|rœ|dƒ}n$t|ddƒ}|r´|ƒ}n td|ƒ‚t |t ƒrÎ|St |df|žŽS)zlShallow copy operation on arbitrary Python objects. See the module's __doc__ string for more info. FÚ__copy__NÚ __reduce_ex__éÚ __reduce__z%un(shallow)copyable object of type %s) ÚtypeÚ_copy_dispatchÚgetÚ issubclassÚ TypeErrorÚ_copy_immutableÚgetattrrrÚ isinstanceÚstrÚ _reconstruct)ÚxÚclsÚcopierÚisscÚreductorÚrvrrrr Bs4          cCs|S)Nr)rrrrrosrÚCodeTypec Cs8|dkr i}t|ƒ}|j||ƒ}||k r,|St|ƒ}tj|ƒ}|rN|||ƒ}nÊyt|tƒ}Wntk rtd}YnX|r†t||ƒ}n’t|ddƒ}|r ||ƒ}nxtj|ƒ}|r¸||ƒ} n>t|ddƒ}|rÒ|dƒ} n$t|ddƒ}|rê|ƒ} n t d|ƒ‚t | t ƒ�r|}nt ||f| žŽ}||k �r4|||<t ||ƒ|S)ziDeep copy operation on arbitrary Python objects. See the module's __doc__ string for more info. NrÚ __deepcopy__r rrz"un(deep)copyable object of type %s)ÚidrrÚ_deepcopy_dispatchrrÚ_deepcopy_atomicrrrrrrÚ _keep_alive) rÚmemoZ_nilÚdÚyrrrrrrrrr „sJ                cCs|S)Nr)rr&rrrr$¾sr$cCs6g}||t|ƒ<|j}x|D]}||||ƒƒqW|S)N)r"Úappend)rr&r r(r)ÚarrrÚ_deepcopy_listÒs   r+c sh‡‡fdd„|Dƒ}y ˆt|ƒStk r4YnXx,t||ƒD]\}}||k rBt|ƒ}PqBW|}|S)Ncsg|]}ˆ|ˆƒ‘qSrr)Ú.0r*)r r&rrú Üsz#_deepcopy_tuple..)r"ÚKeyErrorÚzipÚtuple)rr&r r(ÚkÚjr)r r&rÚ_deepcopy_tupleÛs r3cCs>i}||t|ƒ<x(|jƒD]\}}|||ƒ||||ƒ<qW|S)N)r"Úitems)rr&r r(ÚkeyÚvaluerrrÚ_deepcopy_dictìs  r7cCst|ƒ|jt|j|ƒƒS)N)rÚ__func__r Ú__self__)rr&rrrÚ_deepcopy_methodösr:c Cs>y|t|ƒj|ƒWn"tk r8|g|t|ƒ<YnXdS)aMKeeps a reference to the object x in the memo. Because we remember objects by their id, we have to assure that possibly temporary objects are kept alive by referencing them. We store a reference at the id of the memo, which should normally not be used unless someone tries to deepcopy the memo itself... N)r"r)r.)rr&rrrr%üs r%csxˆdk }|r$|r$‡‡fdd„|Dƒ}||Ž} |r<| ˆt|ƒ<|dk rÊ|rRˆ|ˆƒ}t| dƒrh| j|ƒnbt|tƒrˆt|ƒdkrˆ|\}} nd} |dk r | jj|ƒ| dk rÊx | jƒD]\} } t | | | ƒq²W|dk �r|rüx<|D]} ˆ| ˆƒ} | j | ƒqÞWnx|D]} | j | ƒ�qW|dk �rt|�rXxL|D]&\} } ˆ| ˆƒ} ˆ| ˆƒ} | | | <�q,Wnx|D]\} } | | | <�q^W| S)Nc3s|]}ˆ|ˆƒVqdS)Nr)r,Úarg)r r&rrú sz_reconstruct..Ú __setstate__é) r"Úhasattrr=rr0ÚlenÚ__dict__Úupdater4Úsetattrr))rr&ÚfuncÚargsÚstateZlistiterZdictiterr Zdeepr(Z slotstater5r6Úitemr)r r&rr sF             r)2Ú__doc__ÚtypesÚweakrefÚcopyregrÚ ExceptionrÚerrorZorg.python.corer Ú ImportErrorÚ__all__r rr'rrÚintÚfloatÚboolÚcomplexrr0ÚbytesÚ frozensetÚrangeÚsliceÚBuiltinFunctionTypeÚEllipsisÚNotImplementedÚ FunctionTypeÚrefÚtrÚlistÚdictÚsetÚ bytearrayr r#r$r ÚAttributeErrorr+r3r7r:Ú MethodTyper%rrrrrÚ1s~   +         8            +