aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/markdown/__init__.py b/markdown/__init__.py
index 502ef08..cbcee58 100644
--- a/markdown/__init__.py
+++ b/markdown/__init__.py
@@ -484,6 +484,10 @@ def markdownFromFile(*args, **kwargs):
c += 1
if c == len(pos):
break
+ if len(args):
+ warnings.warn('Positional arguments are pending depreacted in Markdown '
+ 'and will be deprecated in version 2.6. Use keyword '
+ 'arguments only.', PendingDeprecationWarning)
md = Markdown(**kwargs)
md.convertFile(kwargs.get('input', None),