[Python-Dev] 回复: Python-Dev Digest, Vol 112, Issue 8

Amaury Forgeot d'Arc amauryfa at gmail.com
Wed Nov 7 09:48:22 CET 2012


Hi,

2012/11/7 邓九祥 <jiuc at yahoo.cn>:
> I hava some question about Object which "inital" need ,but return "object"
> in mongo shell. So

This is the python-dev mailing list, which deals with development of
the Python language.
You should ask your question on some MongoDB forum.

>
>  BSONElement initial = p["initial"];
>             if ( initial.type()
>  != Object ) {
>                 errmsg = "initial has to be an object";
>                 return false;
>             }
>  "initial.type() != Object " will be found ,so "group" command will not run
> forever. What can'i do
> Mybe this is my fase, please give me some advise.
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/amauryfa%40gmail.com
>



-- 
Amaury Forgeot d'Arc


More information about the Python-Dev mailing list