]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/python/test/raw_ctor.py
1 # Copyright David Abrahams 2004. Distributed under the Boost
2 # Software License, Version 1.0. (See accompanying
3 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 >>> from raw_ctor_ext import *
11 >>> sys.stdout.flush()
12 >>> f = Foo(1, 2, 'a', bar = 3, baz = 4)
15 >>> sorted(f.kw.items())
16 [('bar', 3), ('baz', 4)]
24 return doctest
.testmod(sys
.modules
.get(__name__
))
26 if __name__
== '__main__':
30 if (status
== 0): print("Done.")