mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
python-3.6.zip added from Github
README.cosmo contains the necessary links.
This commit is contained in:
parent
75fc601ff5
commit
0c4c56ff39
4219 changed files with 1968626 additions and 0 deletions
24
third_party/python/Lib/test/dtracedata/instance.py
vendored
Normal file
24
third_party/python/Lib/test/dtracedata/instance.py
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
import gc
|
||||
|
||||
class old_style_class():
|
||||
pass
|
||||
class new_style_class(object):
|
||||
pass
|
||||
|
||||
a = old_style_class()
|
||||
del a
|
||||
gc.collect()
|
||||
b = new_style_class()
|
||||
del b
|
||||
gc.collect()
|
||||
|
||||
a = old_style_class()
|
||||
del old_style_class
|
||||
gc.collect()
|
||||
b = new_style_class()
|
||||
del new_style_class
|
||||
gc.collect()
|
||||
del a
|
||||
gc.collect()
|
||||
del b
|
||||
gc.collect()
|
Loading…
Add table
Add a link
Reference in a new issue