Skip to content

Commit de50ef7

Browse files
committed
gh-136722: Document TurtleGraphicsError
1 parent e5d4fa2 commit de50ef7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Doc/library/turtle.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2571,6 +2571,16 @@ Public classes
25712571
* ``a.rotate(angle)`` rotation
25722572

25732573

2574+
Exceptions
2575+
==========
2576+
2577+
.. exception:: TurtleGraphicsError
2578+
2579+
Raised when an invalid turtle graphics operation is requested, such as
2580+
using an unsupported shape or an invalid color value.
2581+
This exception inherits from :exc:`Exception`.
2582+
2583+
25742584
.. _turtle-explanation:
25752585

25762586
Explanation

0 commit comments

Comments
 (0)