summaryrefslogtreecommitdiff
path: root/docs/freefeatures.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/freefeatures.rst')
-rw-r--r--docs/freefeatures.rst5
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/freefeatures.rst b/docs/freefeatures.rst
index ec43b043..a7a112fc 100644
--- a/docs/freefeatures.rst
+++ b/docs/freefeatures.rst
@@ -344,8 +344,3 @@ which inherits from ``cmd2.Cmd``::
# Make sure you have an "import functools" somewhere at the top
complete_bar = functools.partialmethod(cmd2.Cmd.path_complete, dir_only=True)
-
- # Since Python 2 does not have functools.partialmethod(), you can achieve the
- # same thing by implementing a tab completion function
- def complete_bar(self, text, line, begidx, endidx):
- return self.path_complete(text, line, begidx, endidx, dir_only=True)