PHP 7.4.33
Preview: source.py Size: 741 B
//lib64/python2.7/Demo/parser/source.py

"""Exmaple file to be parsed for the parsermodule example.

The classes and functions in this module exist only to exhibit the ability
of the handling information extraction from nested definitions using parse
trees.  They shouldn't interest you otherwise!
"""

class Simple:
    "This class does very little."

    def method(self):
        "This method does almost nothing."
        return 1

    class Nested:
        "This is a nested class."

        def nested_method(self):
            "Method of Nested class."
            def nested_function():
                "Function in method of Nested class."
                pass
            return nested_function

def function():
    "This function lives at the module level."
    return 0

Directory Contents

Dirs: 0 × Files: 23

Name Size Perms Modified Actions
27 B lrw-r--r-- 2020-04-19 21:13:39
Edit Download
175 B lrw-r--r-- 2024-04-10 04:58:46
Edit Download
175 B lrw-r--r-- 2024-04-10 04:58:46
Edit Download
5.59 KB lrw-r--r-- 2020-04-19 21:13:39
Edit Download
7.04 KB lrw-r--r-- 2024-04-10 04:58:46
Edit Download
7.04 KB lrw-r--r-- 2024-04-10 04:58:46
Edit Download
91 B lrw-r--r-- 2020-04-19 21:13:39
Edit Download
1.01 KB lrw-r--r-- 2020-04-19 21:13:39
Edit Download
29 B lrw-r--r-- 2020-04-19 21:13:39
Edit Download
279 B lrw-r--r-- 2024-04-10 04:58:46
Edit Download
279 B lrw-r--r-- 2024-04-10 04:58:46
Edit Download
741 B lrw-r--r-- 2020-04-19 21:13:39
Edit Download
1.55 KB lrw-r--r-- 2024-04-10 04:58:46
Edit Download
1.55 KB lrw-r--r-- 2024-04-10 04:58:46
Edit Download
1.16 KB lrwxr-xr-x 2024-04-10 04:57:37
Edit Download
1.41 KB lrw-r--r-- 2024-04-10 04:58:46
Edit Download
1.41 KB lrw-r--r-- 2024-04-10 04:58:46
Edit Download
5.44 KB lrw-r--r-- 2020-04-19 21:13:39
Edit Download
8.45 KB lrw-r--r-- 2024-04-10 04:58:46
Edit Download
8.45 KB lrw-r--r-- 2024-04-10 04:58:46
Edit Download
16.85 KB lrw-r--r-- 2020-04-19 21:13:39
Edit Download
23.44 KB lrw-r--r-- 2024-04-10 04:58:46
Edit Download
23.36 KB lrw-r--r-- 2024-04-10 04:58:44
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).