We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bf3d5e commit 6ec6c9fCopy full SHA for 6ec6c9f
packages/python/plotly/_plotly_utils/utils.py
@@ -227,7 +227,7 @@ def iso_to_plotly_time_string(iso_string):
227
228
def template_doc(**names):
229
def _decorator(func):
230
- if sys.version[:3] != "3.2":
+ if not sys.version_info[:2] == (3, 2):
231
if func.__doc__ is not None:
232
func.__doc__ = func.__doc__.format(**names)
233
return func
0 commit comments