Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f009e commit 1dd267aCopy full SHA for 1dd267a
1 file changed
Doc/library/tokenize.rst
@@ -22,6 +22,15 @@ the generic :data:`~token.OP` token type. The exact
22
type can be determined by checking the ``exact_type`` property on the
23
:term:`named tuple` returned from :func:`tokenize.tokenize`.
24
25
+
26
+.. warning::
27
28
+ Note that the functions in this module are only designed to parse
29
+ syntactically valid Python code (code that does not raise when parsed
30
+ using :func:`ast.parse`). The behavior of the functions in this module is
31
+ **undefined** when providing invalid Python code and it can change at any
32
+ point.
33
34
Tokenizing Input
35
----------------
36
0 commit comments