mirror of
https://github.com/boostorg/parameter.git
synced 2026-01-30 08:02:33 +00:00
Merged changes from HEAD to RC_1_34_0.
[SVN r34898]
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
'''
|
||||
>>> from python_parameter import X
|
||||
>>> x = X()
|
||||
>>> x = X(y = 'baz')
|
||||
>>> x.value
|
||||
'foobaz'
|
||||
>>> x.f(1,2)
|
||||
3
|
||||
>>> x.f(1,2,3)
|
||||
@@ -17,6 +19,10 @@
|
||||
'bazbar'
|
||||
>>> x.g(y = "foo", x = "bar")
|
||||
'barfoo'
|
||||
>>> y = x.h(x = "bar", y = "foo")
|
||||
>>> assert x == y
|
||||
>>> y = x(0)
|
||||
>>> assert x == y
|
||||
'''
|
||||
|
||||
def run(args = None):
|
||||
|
||||
Reference in New Issue
Block a user