Skip to content

Commit b2ed6fa

Browse files
author
Matt Morrison
committed
Update README.md
1 parent 5854348 commit b2ed6fa

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ If you prefer to modify your own color scheme, here is a list of new/modified sc
2929
- `keyword.other.python` now only contains `assert` — `as`, `del`, `exec`, and `print` have been relocated
3030
- `support.type.exception.python` now matches any identifier that ends with `Exception` or `Error`, not just the built-in ones like `IndentationError` or `RuntimeException`, allowing for the highlighting of custom exceptions such as those included in third-party modules
3131
- Miscellaneous changes to `support.function.builtin.python` and `support.type.python` — a lot of personal judgement went in to deciding which word went where (for example, `list` is a built-in function, but it's also a type, so I put it in `type`), so if you have a good reason for disagreeing please tell me.
32-
- function annotation support for python3. New scopes added: `punctuation.separator.annotation.python`, `punctuation.separator.annotation.result.python`, `punctuation.definition.parameters-group.begin.python`., and `punctuation.definition.parameters-group.end.python`.
32+
- [Function annotation](http://www.python.org/dev/peps/pep-3107/) support for Python 3, thanks to @facelessuser. New scopes added: `punctuation.separator.annotation.python`, `punctuation.separator.annotation.result.python`, `punctuation.definition.parameters-group.begin.python`, and `punctuation.definition.parameters-group.end.python`.
3333
- You can now have comments in multi-line function definitions:
3434

3535
```python
@@ -41,17 +41,6 @@ def myfunc(self, # gotta have self
4141

4242
## Issues
4343

44-
I'd love to be able to add support for Python 3's [function annotations](http://www.python.org/dev/peps/pep-3107/):
45-
46-
```python
47-
def greet(name: str, age: int) -> str:
48-
print('Hello {0}, you are {1} years old'.format(name, age))
49-
# instead of the standard
50-
def greet(name, age):
51-
print(...)
52-
```
53-
This is a bit complex, and I've been having all sorts of trouble trying to match the various parts. If you'd like to help, let me know!
54-
5544
If you have questions, concerns, or suggested improvements, I'd love to hear from you! Feel free to [open an issue](https://github.com/MattDMo/PythonImproved/issues/new) or send a [pull request](https://github.com/MattDMo/PythonImproved/compare/) and I'll get back to you as soon as I can. You can also email me at <[email protected]>.
5645

5746

0 commit comments

Comments
 (0)