[issue46127] Missing HTML span element in exceptions.html

2021-12-20 Thread Vivek Vashist
Change by Vivek Vashist : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue46127> ___ ___

[issue46137] Update/change built-in keyword type used in RE example

2021-12-20 Thread Vivek Vashist
Change by Vivek Vashist : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue46137> ___ ___

[issue46137] Update/change built-in keyword type used in RE example

2021-12-20 Thread Vivek Vashist
Vivek Vashist added the comment: Thanks Eric. -- ___ Python tracker <https://bugs.python.org/issue46137> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46137] Update/change built-in keyword type used in RE example

2021-12-20 Thread Vivek Vashist
New submission from Vivek Vashist : Link: https://docs.python.org/3/library/re.html#writing-a-tokenizer Noticed that built-in type() class is being used inside the Tokenizer example: class Token(NamedTuple): type: str value: str line: int column: int Should this attribute

[issue46127] Missing HTML span element in exceptions.html

2021-12-19 Thread Vivek Vashist
Vivek Vashist added the comment: Thanks for the information Daniel. -- ___ Python tracker <https://bugs.python.org/issue46127> ___ ___ Python-bugs-list mailin

[issue46127] Missing HTML span element in exceptions.html

2021-12-18 Thread Vivek Vashist
New submission from Vivek Vashist : Link: https://docs.python.org/3/library/exceptions.html#exception-hierarchy Looking at EncodingWarning under exception-hierarchy is displaying BLACK color instead of RED. Digging into HTML looks like it is missing the appropriate span class element

[issue46122] Update/fix types.UnionType to types.Union in Built-in Types documentation

2021-12-18 Thread Vivek Vashist
Change by Vivek Vashist : -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46122] Update/fix types.UnionType to types.Union in Built-in Types documentation

2021-12-18 Thread Vivek Vashist
Vivek Vashist added the comment: Thanks Ken. You are right I'm using 3.10.0b4. I just tested it on 3.10.0 and it works fine. >>> import types >>> isinstance(int | str, types.UnionType) True -- status: pending -> open ___ P

[issue46122] Update/fix types.UnionType to types.Union in Built-in Types documentation

2021-12-18 Thread Vivek Vashist
Change by Vivek Vashist : -- keywords: +patch pull_requests: +28401 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30182 ___ Python tracker <https://bugs.python.org/issu

[issue46122] Update/fix types.UnionType to types.Union in Built-in Types documentation

2021-12-18 Thread Vivek Vashist
New submission from Vivek Vashist : There is an error in https://docs.python.org/3/library/stdtypes.html#types-union example. Looks like there is no types.UnionType BROKEN: >>> import types >>> isinstance(int | str, types.UnionType) Traceback (most recent call last):

[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-17 Thread Vivek Vashist
Vivek Vashist added the comment: Noticed that new removeprefix() and removesuffix() functions that were added in 3.9 have slash notation added in Built-in Types document. str.removeprefix(prefix, /) str.removesuffix(suffix, /) https://docs.python.org/3/library/stdtypes.html#str.removeprefix

[issue46113] Typos and minor fixes in built in types documentation

2021-12-17 Thread Vivek Vashist
Vivek Vashist added the comment: PR: https://github.com/python/cpython/pull/30167 Fix#1 - isidentifier() function output Fix#2 Update the str.splitlines() function parameter Fix#3 Removed unwanted full stop for str and bytes types double quotes examples Fix#4 Updated class dict from **kwarg

[issue46113] Typos and minor fixes in built in types documentation

2021-12-17 Thread Vivek Vashist
Change by Vivek Vashist : -- keywords: +patch pull_requests: +28384 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30167 ___ Python tracker <https://bugs.python.org/issu

[issue46113] Typos and minor fixes in built in types documentation

2021-12-17 Thread Vivek Vashist
New submission from Vivek Vashist : Will raise a PR shortly. -- assignee: docs@python components: Documentation messages: 408766 nosy: docs@python, vivekvashist priority: normal severity: normal status: open title: Typos and minor fixes in built in types documentation versions: Python

[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-15 Thread Vivek Vashist
Vivek Vashist added the comment: PR: https://github.com/python/cpython/pull/30128 -- ___ Python tracker <https://bugs.python.org/issue46092> ___ ___ Python-bug

[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-15 Thread Vivek Vashist
Change by Vivek Vashist : -- keywords: +patch pull_requests: +28347 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30128 ___ Python tracker <https://bugs.python.org/issu

[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-15 Thread Vivek Vashist
New submission from Vivek Vashist : Previous issue: https://github.com/python/cpython/pull/30113#issuecomment-994642493 As noted/pointed by Alex - I went through all the Built-in Functions and updated/fixed the missing parameters. I'll raise a PR shortly. -- assignee: docs@python

[issue46079] Broken URL in tutorial

2021-12-14 Thread Vivek Vashist
New submission from Vivek Vashist : URL: http://tycho.usno.navy.mil/cgi-bin/timer.pl is broken in the example https://docs.python.org/3/tutorial/stdlib.html#internet-access > curl -v http://tycho.usno.navy.mil/cgi-bin/timer.pl * Could not resolve host: tycho.usno.navy.mil * Closing connect

[issue46059] Typo in match Statement example

2021-12-14 Thread Vivek Vashist
Vivek Vashist added the comment: Thanks for sorting this out Alex :) -- ___ Python tracker <https://bugs.python.org/issue46059> ___ ___ Python-bugs-list mailin

[issue46059] Typo in match Statement example

2021-12-12 Thread Vivek Vashist
New submission from Vivek Vashist : Possible Typo in match statement example. https://docs.python.org/3/tutorial/controlflow.html#match-statements BROKEN: > python Python 3.10.0b4 (default, Nov 15 2021, 18:26:05) [Clang 12.0.0 (clang-1200.0.32.29)] on darwin Type "help"