34SqUc2zfk2Pk9Ysvb6BRI changeset

Changeset633766633533 (b)
Parent333364346237 (a)
ab
0-In [29]: from pymongo.dbref import DBRef
0+>>> from pymongo.dbref import DBRef
...
11
...
2-In [30]: a = {'foo': DBRef(collection='bla', database='bar', id='goo')}
2+>>> a = {'foo': DBRef(collection='bla', database='bar', id='goo')}
...
33
44
...
5-In [35]: deepcopy(a)
5+>>> deepcopy(a)
...
66---------------------------------------------------------------------------
77KeyError                                  Traceback (most recent call last)
88
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Revision 333364346237
+++ Revision 633766633533
@@ -1,9 +1,9 @@
-In [29]: from pymongo.dbref import DBRef
+>>> from pymongo.dbref import DBRef
-In [30]: a = {'foo': DBRef(collection='bla', database='bar', id='goo')}
+>>> a = {'foo': DBRef(collection='bla', database='bar', id='goo')}
-In [35]: deepcopy(a)
+>>> deepcopy(a)
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)