Commit 0c78e29
Use _use_c variable in bson.has_c() function
Don't needlessly retry to import _cbson each time the (public)
bson.has_c() function is called. The internal _use_c variable
that is set when the module is loaded already contains the
needed information.1 parent bfbe701 commit 0c78e29
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
| 556 | + | |
0 commit comments