Skip to content

Commit bffa4c6

Browse files
Ken KundertKen Kundert
authored andcommitted
update copyright date
1 parent 6e16103 commit bffa4c6

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2014-2025 Kenneth S. Kundert
3+
Copyright (c) 2014-2026 Kenneth S. Kundert
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
# General information about the project.
5050
project = u'inform'
51-
copyright = u'2017-2025, Ken Kundert'
51+
copyright = u'2017-2026, Ken Kundert'
5252

5353
# The version info for the project you're documenting, acts as replacement for
5454
# |version| and |release|, also used in various other places throughout the

inform/inform.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
#
44
# Utilities for communicating directly with the user.
55
# Documentation can be found at inform.readthedocs.io.
6-
#
7-
# Copyright (c) 2014-2025 Kenneth S. Kundert
6+
7+
# License {{{1
8+
# Copyright (c) 2014-2026 Kenneth S. Kundert
89
# This software is licensed under the `MIT Licents <https://mit-license.org>`_.
910

1011
# Imports {{{1
@@ -1143,6 +1144,8 @@ def did_you_mean(invalid_str, valid_strs):
11431144
11441145
"""
11451146
from difflib import SequenceMatcher
1147+
if not valid_strs:
1148+
return "" # or "Ø" # null set
11461149
similarity = lambda x: SequenceMatcher(a=invalid_str, b=x).ratio()
11471150
return max(valid_strs, key=similarity)
11481151

@@ -3813,3 +3816,5 @@ def __getattr__(self, name):
38133816
if name.startswith('__'):
38143817
raise AttributeError(name)
38153818
return self.kwargs.get(name)
3819+
3820+
# vim: set sw=4 sts=4 tw=80 fo=ntcqwa12 et spell:

0 commit comments

Comments
 (0)