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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user