mirror of
https://github.com/boostorg/python.git
synced 2026-01-31 20:32:16 +00:00
Misc comments from Dave
[SVN r14815]
This commit is contained in:
@@ -1,21 +1,29 @@
|
||||
"""
|
||||
|
||||
>>> from defaults_ext import *
|
||||
>>> bar(1)
|
||||
'int(1); char(D); string(default); double(0.0); '
|
||||
>>> bar(2, 'X')
|
||||
'int(2); char(X); string(default); double(0.0); '
|
||||
>>> bar(3, 'Y', "Hello World")
|
||||
'int(3); char(Y); string(Hello World); double(0.0); '
|
||||
>>> bar(4, 'Z', "Hi There", 3.3)
|
||||
'int(4); char(Z); string(Hi There); double(3.3); '
|
||||
>>> foo(1)
|
||||
'int(1); char(D); string(default); double(0); '
|
||||
'int(1); char(D); string(default); double(0.0); '
|
||||
>>> foo(2, 'X')
|
||||
'int(2); char(X); string(default); double(0); '
|
||||
'int(2); char(X); string(default); double(0.0); '
|
||||
>>> foo(3, 'Y', "Hello World")
|
||||
'int(3); char(Y); string(Hello World); double(0); '
|
||||
'int(3); char(Y); string(Hello World); double(0.0); '
|
||||
>>> foo(4, 'Z', "Hi There", 3.3)
|
||||
'int(4); char(Z); string(Hi There); double(3.3); '
|
||||
>>> x = X()
|
||||
>>> x.bar(1)
|
||||
'int(1); char(D); string(default); double(0); '
|
||||
'int(1); char(D); string(default); double(0.0); '
|
||||
>>> x.bar(2, 'X')
|
||||
'int(2); char(X); string(default); double(0); '
|
||||
'int(2); char(X); string(default); double(0.0); '
|
||||
>>> x.bar(3, 'Y', "Hello World")
|
||||
'int(3); char(Y); string(Hello World); double(0); '
|
||||
'int(3); char(Y); string(Hello World); double(0.0); '
|
||||
>>> x.bar(4, 'Z', "Hi There", 3.3)
|
||||
'int(4); char(Z); string(Hi There); double(3.3); '
|
||||
>>>
|
||||
|
||||
Reference in New Issue
Block a user