File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -902,9 +902,9 @@ cdef class CachedFunction():
902902 # on code objects you'll find it in co_filename and co_firstlineno)
903903 # however, this hasn't been factored out yet in sageinspect
904904 # and the logic in sage_getsourcelines is rather intricate.
905- file_info = " File: {} (starting at line {})" .format(filename, sourcelines[1 ])+ os.linesep
905+ file_info = " File: {} (starting at line {})" .format(filename, sourcelines[1 ]) + os.linesep
906906
907- doc = file_info+ doc
907+ doc = file_info + doc
908908 except IOError :
909909 pass
910910 return doc
Original file line number Diff line number Diff line change @@ -1004,8 +1004,7 @@ def benchmark_libc():
10041004 sage: timeit( 'benchmark_mt( ) ') # random
10051005 125 loops, best of 3: 2. 12 ms per loop
10061006 """
1007- cdef int i
1008- for i from 0 <= i < 100000 :
1007+ for _ in range (100000 ):
10091008 c_libc_random()
10101009
10111010
You can’t perform that action at this time.
0 commit comments