MCPcopy Index your code
hub / github.com/python/cpython / python_docs

Method python_docs

Lib/idlelib/editor.py:596–605  ·  view source on GitHub ↗
(self, event=None)

Source from the content-addressed store, hash-verified

594 return "break"
595
596 def python_docs(self, event=None):
597 if sys.platform[:3] == 'win':
598 try:
599 os.startfile(self.help_url)
600 except OSError as why:
601 messagebox.showerror(title='Document Start Failure',
602 message=str(why), parent=self.text)
603 else:
604 webbrowser.open(self.help_url)
605 return "break"
606
607 def cut(self,event):
608 self.text.event_generate("<<Cut>>")

Callers

nothing calls this directly

Calls 3

strFunction · 0.85
showerrorMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected