Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
inline
  • Loading branch information
JelleZijlstra committed Mar 31, 2025
commit 7c0dd9901a94d28aa41e6b4d0b108d7dcf78130a
13 changes: 5 additions & 8 deletions Lib/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,14 +354,11 @@ def _deduplicate(params, *, unhashable_fallback=False):
if not unhashable_fallback:
raise
# Happens for cases like `Annotated[dict, {'x': IntValidator()}]`
return _deduplicate_unhashable(params)

def _deduplicate_unhashable(unhashable_params):
new_unhashable = []
for t in unhashable_params:
if t not in new_unhashable:
new_unhashable.append(t)
return new_unhashable
new_unhashable = []
for t in params:
if t not in new_unhashable:
new_unhashable.append(t)
return new_unhashable

def _flatten_literal_params(parameters):
"""Internal helper for Literal creation: flatten Literals among parameters."""
Expand Down