@@ -2,30 +2,27 @@ pub(crate) use array::make_module;
22
33#[ pymodule( name = "array" ) ]
44mod array {
5- use crate :: buffer:: { BufferOptions , PyBuffer , PyBufferInternal , ResizeGuard } ;
6- use crate :: builtins:: list:: { PyList , PyListRef } ;
7- use crate :: builtins:: pystr:: { PyStr , PyStrRef } ;
8- use crate :: builtins:: pytype:: PyTypeRef ;
9- use crate :: builtins:: slice:: PySliceRef ;
10- use crate :: builtins:: IntoPyFloat ;
11- use crate :: builtins:: { PyByteArray , PyBytes , PyBytesRef , PyIntRef } ;
12- use crate :: byteslike:: ArgBytesLike ;
13- use crate :: common:: borrow:: { BorrowedValue , BorrowedValueMut } ;
14- use crate :: common:: lock:: {
15- PyMappedRwLockReadGuard , PyMappedRwLockWriteGuard , PyRwLock , PyRwLockReadGuard ,
16- PyRwLockWriteGuard ,
5+ use crate :: common:: {
6+ borrow:: { BorrowedValue , BorrowedValueMut } ,
7+ lock:: {
8+ PyMappedRwLockReadGuard , PyMappedRwLockWriteGuard , PyRwLock , PyRwLockReadGuard ,
9+ PyRwLockWriteGuard ,
10+ } ,
11+ str:: wchar_t,
1712 } ;
18- use crate :: common:: str:: wchar_t;
19- use crate :: function:: OptionalArg ;
20- use crate :: sliceable:: {
21- saturate_index, PySliceableSequence , PySliceableSequenceMut , SequenceIndex ,
22- } ;
23- use crate :: slots:: { AsBuffer , Comparable , Iterable , PyComparisonOp , PyIter , SlotConstructor } ;
2413 use crate :: {
25- IdProtocol , IntoPyObject , PyComparisonValue , PyIterable , PyObjectRef , PyRef , PyResult ,
26- PyValue , StaticType , TryFromObject , TypeProtocol ,
14+ buffer:: { BufferOptions , PyBuffer , PyBufferInternal , ResizeGuard } ,
15+ builtins:: {
16+ IntoPyFloat , PyByteArray , PyBytes , PyBytesRef , PyIntRef , PyList , PyListRef , PySliceRef ,
17+ PyStr , PyStrRef , PyTypeRef ,
18+ } ,
19+ byteslike:: ArgBytesLike ,
20+ function:: OptionalArg ,
21+ sliceable:: { saturate_index, PySliceableSequence , PySliceableSequenceMut , SequenceIndex } ,
22+ slots:: { AsBuffer , Comparable , Iterable , PyComparisonOp , PyIter , SlotConstructor } ,
23+ IdProtocol , IntoPyObject , IntoPyResult , PyComparisonValue , PyIterable , PyObjectRef , PyRef ,
24+ PyResult , PyValue , StaticType , TryFromObject , TypeProtocol , VirtualMachine ,
2725 } ;
28- use crate :: { IntoPyResult , VirtualMachine } ;
2926 use crossbeam_utils:: atomic:: AtomicCell ;
3027 use itertools:: Itertools ;
3128 use lexical_core:: Integer ;
0 commit comments