| Index: doxypypy/doxypypy/test/sample_pep.outbare.py
|
| diff --git a/doxypypy/doxypypy/test/sample_pep.outbare.py b/doxypypy/doxypypy/test/sample_pep.outbare.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..24276ac6b0b7033b0ed296ac3b10032960b48708
|
| --- /dev/null
|
| +++ b/doxypypy/doxypypy/test/sample_pep.outbare.py
|
| @@ -0,0 +1,19 @@
|
| +#!/usr/bin/env python
|
| +# As close as possible to a direct copy of the sample in PEP 257 and still
|
| +# be valid code. Simple as can be.
|
| +
|
| +complex_zero = 0j
|
| +
|
| +
|
| +##Form a complex number.
|
| +#
|
| +# Keyword arguments:
|
| +# real -- the real part (default 0.0)
|
| +# imag -- the imaginary part (default 0.0)
|
| +#
|
| +#
|
| +def complex(real=0.0, imag=0.0):
|
| + if imag == 0.0 and real == 0.0:
|
| + return complex_zero
|
| + else:
|
| + return complex(real, imag)
|
|
|