We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
twisted.internet._ssl is unused and can be deleted
|[<img alt="alex's avatar" src="https://avatars.githubusercontent.com/u/772?s=50" width="50" height="50">](https://github.com/alex)| @alex reported|
|-|-|
|Trac ID|trac#8775|
|Type|enhancement|
|Created|2016-08-20 12:51:20Z|

LGTM

<details><summary>Searchable metadata</summary>

```
trac-id__8775 8775
type__enhancement enhancement
reporter__alex alex
priority__normal normal
milestone__None None
branch__ 
branch_author__ 
status__closed closed
resolution__fixed fixed
component__core core
keywords__None None
time__1471697480022394 1471697480022394
changetime__1471699165043033 1471699165043033
version__None None
owner__hawkowl hawkowl

```
</details>


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `src/twisted/internet/_ssl.py`
Content:
```
1 # -*- test-case-name: twisted.test.test_ssl -*-
2 # Copyright (c) Twisted Matrix Laboratories.
3 # See LICENSE for details.
4 
5 """
6 This module implements helpers for switching to TLS on an existing transport.
7 
8 @since: 11.1
9 """
10 
11 class _TLSDelayed(object):
12     """
13     State tracking record for TLS startup parameters.  Used to remember how
14     TLS should be started when starting it is delayed to wait for the output
15     buffer to be flushed.
16 
17     @ivar bufferedData: A C{list} which contains all the data which was
18         written to the transport after an attempt to start TLS was made but
19         before the buffers outstanding at that time could be flushed and TLS
20         could really be started.  This is appended to by the transport's
21         write and writeSequence methods until it is possible to actually
22         start TLS, then it is written to the TLS-enabled transport.
23 
24     @ivar context: An SSL context factory object to use to start TLS.
25 
26     @ivar extra: An extra argument to pass to the transport's C{startTLS}
27         method.
28     """
29     def __init__(self, bufferedData, context, extra):
30         self.bufferedData = bufferedData
31         self.context = context
32         self.extra = extra
33
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/src/twisted/internet/_ssl.py b/src/twisted/internet/_ssl.py
deleted file mode 100644
--- a/src/twisted/internet/_ssl.py
+++ /dev/null
@@ -1,32 +0,0 @@
-# -*- test-case-name: twisted.test.test_ssl -*-
-# Copyright (c) Twisted Matrix Laboratories.
-# See LICENSE for details.
-
-"""
-This module implements helpers for switching to TLS on an existing transport.
-
-@since: 11.1
-"""
-
-class _TLSDelayed(object):
-    """
-    State tracking record for TLS startup parameters.  Used to remember how
-    TLS should be started when starting it is delayed to wait for the output
-    buffer to be flushed.
-
-    @ivar bufferedData: A C{list} which contains all the data which was
-        written to the transport after an attempt to start TLS was made but
-        before the buffers outstanding at that time could be flushed and TLS
-        could really be started.  This is appended to by the transport's
-        write and writeSequence methods until it is possible to actually
-        start TLS, then it is written to the TLS-enabled transport.
-
-    @ivar context: An SSL context factory object to use to start TLS.
-
-    @ivar extra: An extra argument to pass to the transport's C{startTLS}
-        method.
-    """
-    def __init__(self, bufferedData, context, extra):
-        self.bufferedData = bufferedData
-        self.context = context
-        self.extra = extra

{"golden_diff": "diff --git a/src/twisted/internet/_ssl.py b/src/twisted/internet/_ssl.py\ndeleted file mode 100644\n--- a/src/twisted/internet/_ssl.py\n+++ /dev/null\n@@ -1,32 +0,0 @@\n-# -*- test-case-name: twisted.test.test_ssl -*-\n-# Copyright (c) Twisted Matrix Laboratories.\n-# See LICENSE for details.\n-\n-\"\"\"\n-This module implements helpers for switching to TLS on an existing transport.\n-\n-@since: 11.1\n-\"\"\"\n-\n-class _TLSDelayed(object):\n-    \"\"\"\n-    State tracking record for TLS startup parameters.  Used to remember how\n-    TLS should be started when starting it is delayed to wait for the output\n-    buffer to be flushed.\n-\n-    @ivar bufferedData: A C{list} which contains all the data which was\n-        written to the transport after an attempt to start TLS was made but\n-        before the buffers outstanding at that time could be flushed and TLS\n-        could really be started.  This is appended to by the transport's\n-        write and writeSequence methods until it is possible to actually\n-        start TLS, then it is written to the TLS-enabled transport.\n-\n-    @ivar context: An SSL context factory object to use to start TLS.\n-\n-    @ivar extra: An extra argument to pass to the transport's C{startTLS}\n-        method.\n-    \"\"\"\n-    def __init__(self, bufferedData, context, extra):\n-        self.bufferedData = bufferedData\n-        self.context = context\n-        self.extra = extra\n", "issue": "twisted.internet._ssl is unused and can be deleted\n|[<img alt=\"alex's avatar\" src=\"https://avatars.githubusercontent.com/u/772?s=50\" width=\"50\" height=\"50\">](https://github.com/alex)| @alex reported|\n|-|-|\n|Trac ID|trac#8775|\n|Type|enhancement|\n|Created|2016-08-20 12:51:20Z|\n\nLGTM\n\n<details><summary>Searchable metadata</summary>\n\n```\ntrac-id__8775 8775\ntype__enhancement enhancement\nreporter__alex alex\npriority__normal normal\nmilestone__None None\nbranch__ \nbranch_author__ \nstatus__closed closed\nresolution__fixed fixed\ncomponent__core core\nkeywords__None None\ntime__1471697480022394 1471697480022394\nchangetime__1471699165043033 1471699165043033\nversion__None None\nowner__hawkowl hawkowl\n\n```\n</details>\n\n", "before_files": [{"content": "# -*- test-case-name: twisted.test.test_ssl -*-\n# Copyright (c) Twisted Matrix Laboratories.\n# See LICENSE for details.\n\n\"\"\"\nThis module implements helpers for switching to TLS on an existing transport.\n\n@since: 11.1\n\"\"\"\n\nclass _TLSDelayed(object):\n    \"\"\"\n    State tracking record for TLS startup parameters.  Used to remember how\n    TLS should be started when starting it is delayed to wait for the output\n    buffer to be flushed.\n\n    @ivar bufferedData: A C{list} which contains all the data which was\n        written to the transport after an attempt to start TLS was made but\n        before the buffers outstanding at that time could be flushed and TLS\n        could really be started.  This is appended to by the transport's\n        write and writeSequence methods until it is possible to actually\n        start TLS, then it is written to the TLS-enabled transport.\n\n    @ivar context: An SSL context factory object to use to start TLS.\n\n    @ivar extra: An extra argument to pass to the transport's C{startTLS}\n        method.\n    \"\"\"\n    def __init__(self, bufferedData, context, extra):\n        self.bufferedData = bufferedData\n        self.context = context\n        self.extra = extra\n", "path": "src/twisted/internet/_ssl.py"}], "after_files": [{"content": null, "path": "src/twisted/internet/_ssl.py"}]}