Esempio n. 1
0
 def _get_revised_path(self, given_path, argv0=None):
     # Checking that pydoc.cli() actually calls pydoc._get_revised_path()
     # is handled via code review (at least for now).
     if argv0 is None:
         argv0 = self.argv0
     return pydoc._get_revised_path(given_path, argv0)
Esempio n. 2
0
 def _get_revised_path(self, given_path, argv0=None):
     # Checking that pydoc.cli() actually calls pydoc._get_revised_path()
     # is handled via code review (at least for now).
     if argv0 is None:
         argv0 = self.argv0
     return pydoc._get_revised_path(given_path, argv0)
Esempio n. 3
0
 def update_event(self, inp=-1):
     self.set_output_val(
         0, pydoc._get_revised_path(self.input(0), self.input(1)))