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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, benjamin.peterson
Date 2008-03-18.22:23:49
SpamBayes Score 0.23833908
Marked as misclassified No
Message-id <1205879030.22.0.170883911746.issue2408@psf.upfronthosting.co.za>
In-reply-to
Content
The following python code retrieves the cell type, and could be added to
types.py:

def _f(x=None):
   def g():
      x
   return g

CellType = type(_f().func_closure[0])

OTOH, you are unlikely to need it. Do you have a use case, or is it just
to have the full list of types?
History
Date User Action Args
2008-03-18 22:23:50amaury.forgeotdarcsetspambayes_score: 0.238339 -> 0.23833908
recipients: + amaury.forgeotdarc, benjamin.peterson
2008-03-18 22:23:50amaury.forgeotdarcsetspambayes_score: 0.238339 -> 0.238339
messageid: <1205879030.22.0.170883911746.issue2408@psf.upfronthosting.co.za>
2008-03-18 22:23:49amaury.forgeotdarclinkissue2408 messages
2008-03-18 22:23:49amaury.forgeotdarccreate