mirror of
https://github.com/boostorg/python.git
synced 2026-01-21 17:12:22 +00:00
17 lines
384 B
Python
17 lines
384 B
Python
def f():
|
|
import noncopyable_export
|
|
import noncopyable_import
|
|
s1 = noncopyable_export.store(1)
|
|
print s1.recall()
|
|
s2 = noncopyable_export.store(2)
|
|
print s2.recall()
|
|
s3 = noncopyable_import.add_stores(s1, s2)
|
|
print s3.recall()
|
|
|
|
if (__name__ == "__main__"):
|
|
import sys, string
|
|
n = 1
|
|
if (len(sys.argv) > 1): n = string.atoi(sys.argv[1])
|
|
for i in xrange(n):
|
|
f()
|