Change Declaration of Var 'j' to None (#921) · zinating/algorithms-python@2333f93 · GitHub
Skip to content

Commit 2333f93

Browse files
PatOnTheBackpoyea
authored andcommitted
Change Declaration of Var 'j' to None (TheAlgorithms#921)
Since `j` is redefined before it is used, it makes more sense to declare it with the value `None` instead of `1`. This fixes a [warning from lgtm](https://lgtm.com/projects/g/TheAlgorithms/Python/snapshot/66c4afbd0f28f9989f35ddbeb5c9263390c5d192/files/other/primelib.py?sort=name&dir=ASC&mode=heatmap)
1 parent 34889fc commit 2333f93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

other/primelib.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)