2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-27 19:12:16 +00:00

libs/python/src/object/function.cpp: support __module__ attribute (to help certain doc generation systems)

[SVN r65555]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2010-09-23 19:22:12 +00:00
parent bd8a9eb1fd
commit 76af2cfc6b
3 changed files with 22 additions and 0 deletions

View File

@@ -7,6 +7,11 @@
>>> print func.__doc__.splitlines()[1]
func( (A)arg1) -> A :
>>> print func.__module__
pytype_function_ext
>>> print func.__name__
func
"""
def run(args = None):
import sys