Skip to content

Commit

Permalink
Use or instead of {...} for documenting a union of types
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Apr 29, 2019
1 parent c87aa31 commit e83a552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/similarities/termsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class SparseTermSimilarityMatrix(SaveLoad):
strict column diagonal dominance. Positive definiteness is a necessary precondition if you
later wish to derive a change-of-basis matrix from the term similarity matrix using Cholesky
factorization.
nonzero_limit : {int, None}, optional
nonzero_limit : int or None, optional
The maximum number of non-zero elements outside the diagonal in a single column of the
sparse term similarity matrix. If None, then no limit will be imposed.
dtype : numpy.dtype, optional
Expand Down

0 comments on commit e83a552

Please # to comment.