Skip to content

Commit 33df68e

Browse files
dogeekRedFantom
authored andcommitted
Addressed more requested changes to Notebook
- Typos in docstrings - Docstring format in test_notebook.py
1 parent 2e2e2f6 commit 33df68e

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

tests/test_notebook.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# -*- coding: utf-8 -*-
2-
"""
3-
Author: Dogeek
4-
Copyright (c) 2019 Dogeek
5-
"""
1+
# Copyright (c) Dogeek 2019
2+
# For license see LICENSE
63
from ttkwidgets import Notebook
74
from tests import BaseWidgetTest
85

ttkwidgets/notebook.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self, master=None, tab_nb=0, **kwargs):
2424
"""
2525
:param master: parent widget
2626
:param tab_nb: tab index
27-
:param **kwargs: keyword arguments for ttk::Frame widgets
27+
:param **kwargs: keyword arguments for ttk::Label widgets
2828
"""
2929
ttk.Frame.__init__(self, master, class_='Notebook.Tab',
3030
style='Notebook.Tab', padding=1)
@@ -737,7 +737,7 @@ def add(self, widget, **kwargs):
737737

738738
def insert(self, where, widget, **kwargs):
739739
"""
740-
Insert WIDEGT at the position given by WHERE in the notebook.
740+
Insert WIDGET at the position given by WHERE in the notebook.
741741
742742
For keyword options, see add method.
743743
"""

0 commit comments

Comments
 (0)