Skip to content
Myr

Merge branch '6.x-maintenance'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents 4f44f65, 7e8324f · Browse files · 2 files+8 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+8 added−1 removed

  • other:+8 added−1 removed

2 files+8 added−1 removed

modified:click/_termui_impl.py+1 added-1 removed
29 unmodified lines
30def _length_hint(obj):31 """Returns the length hint of an object."""32 try:33 return len(obj)34 except TypeError:34 except (AttributeError, TypeError):35 try:36 get_hint = type(obj).__length_hint__37 except AttributeError:38 return None
509 unmodified lines
modified:CHANGES+7 added
12 unmodified lines
13- Added Float Range in Types.14- `secho`'s first argument can now be `None`, like in `echo`.15- Usage errors now hint at the `--help` option.1617Version 6.718-----------1920(bugfix release; yet to be released)2122- Make `click.progressbar` work with `codecs.open` files. See #637.2324Version 6.625-----------2627(bugfix release; released on April 4th 2016)
330 unmodified lines