homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mikehoy
Recipients docs@python, eric.araujo, ezio.melotti, georg.brandl, guandalino, mikehoy, ncoghlan, techtonik, terry.reedy
Date 2012年08月23日.10:36:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345718172.18.0.538909995989.issue11776@psf.upfronthosting.co.za>
In-reply-to
Content
I used the following for:
>>CodeType
>>FunctionType
>>LambdaType
>>SimpleNamespace
>>MethodType
--------------------
>>> print(CodeType.__doc__)
code(argcount, kwonlyargcount, nlocals, stacksize, flags, codestring,
 constants, names, varnames, filename, name, firstlineno,
 lnotab[, freevars[, cellvars]])
Create a code object. Not for the faint of heart.
>>> print(FunctionType.__doc__)
function(code, globals[, name[, argdefs[, closure]]])
Create a function object from a code object and a dictionary.
The optional name string overrides the name from the code object.
The optional argdefs tuple specifies the default argument values.
The optional closure tuple supplies the bindings for free variables.
>>> print(LambdaType.__doc__)
function(code, globals[, name[, argdefs[, closure]]])
Create a function object from a code object and a dictionary.
The optional name string overrides the name from the code object.
The optional argdefs tuple specifies the default argument values.
The optional closure tuple supplies the bindings for free variables.
>>> print(SimpleNamespace.__doc__) 
A simple attribute-based namespace.
namespace(**kwargs)
>>> print(MethodType.__doc__)
method(function, instance)
Create a bound instance method object.
--------------------
I left out the [] arguments.
I've stopped here and uploaded a patch for the 
>>'first easy part'. 
Despite that name I suspect I will have to change quite a few things. Once this part is done then I will move on the the 
>>'second easy part'
History
Date User Action Args
2012年08月23日 10:36:12mikehoysetrecipients: + mikehoy, georg.brandl, terry.reedy, ncoghlan, techtonik, ezio.melotti, eric.araujo, docs@python, guandalino
2012年08月23日 10:36:12mikehoysetmessageid: <1345718172.18.0.538909995989.issue11776@psf.upfronthosting.co.za>
2012年08月23日 10:36:11mikehoylinkissue11776 messages
2012年08月23日 10:36:11mikehoycreate

AltStyle によって変換されたページ (->オリジナル) /