Skip to content

Commit 1cd3760

Browse files
committed
Drop semicolon at end of statement
Fix pep8: E703 statement ends with a semicolon
1 parent 01dac15 commit 1cd3760

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

smmap/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ def align_to_mmap(num, round_up):
4242
:param round_up: if True, the next higher multiple of page size is used, otherwise
4343
the lower page_size will be used (i.e. if True, 1 becomes 4096, otherwise it becomes 0)
4444
:return: num rounded to closest page"""
45-
res = (num // ALLOCATIONGRANULARITY) * ALLOCATIONGRANULARITY;
45+
res = (num // ALLOCATIONGRANULARITY) * ALLOCATIONGRANULARITY
4646
if round_up and (res != num):
4747
res += ALLOCATIONGRANULARITY
4848
#END handle size
49-
return res;
49+
return res
5050

5151

5252
def is_64_bit():

0 commit comments

Comments
 (0)