mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:53:32 +03:00
tidy-up: miscellaneous
- schannel: delete superfluous parenthesis. - tftp: delete stray space from log output. - ws: update guard comment. - docs/examples: constify variables. - runtests/servers: enclose unknown parameter between quotes. - scripts/perlcheck.sh: drop redundant grep `-E` option. - THANKS: move names from comments to THANKS. - sync `--depth` option style across scripts. - sync git repo URL ending between some scripts. - BINDINGS.md: drop protocol from archive.org URL path. - whitespace, indent, unfold lines. Closes #19565
This commit is contained in:
parent
a87383828e
commit
1b48c6148a
32 changed files with 62 additions and 71 deletions
|
|
@ -31,7 +31,7 @@
|
|||
# ECH command line args
|
||||
|
||||
def CombinationRepetitionUtil(chosen, arr, badarr, index,
|
||||
r, start, end):
|
||||
r, start, end):
|
||||
|
||||
# Current combination is ready,
|
||||
# print it
|
||||
|
|
@ -68,9 +68,9 @@ def CombinationRepetitionUtil(chosen, arr, badarr, index,
|
|||
# with next (Note that i+1 is passed,
|
||||
# but index is not changed)
|
||||
CombinationRepetitionUtil(chosen, arr, badarr, index + 1,
|
||||
r, start, end)
|
||||
r, start, end)
|
||||
CombinationRepetitionUtil(chosen, arr, badarr, index,
|
||||
r, start + 1, end)
|
||||
r, start + 1, end)
|
||||
|
||||
# The main function that prints all
|
||||
# combinations of size r in arr[] of
|
||||
|
|
@ -94,5 +94,3 @@ r = 8
|
|||
n = len(arr) - 1
|
||||
|
||||
CombinationRepetition(arr, badarr, n, r)
|
||||
|
||||
# This code is contributed by Vaibhav Kumar 12.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue