Skip to content

Commit cd3bb8b

Browse files
committed
#17474 - Mark the deprecated Request methods as deprecated-removed. Review by Ezio Melotti
1 parent f47e77f commit cd3bb8b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Doc/library/urllib.request.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -478,46 +478,46 @@ request.
478478
request to be ``POST`` rather than ``GET``. Deprecated in 3.3, use
479479
:attr:`Request.data`.
480480

481-
.. deprecated:: 3.3
481+
.. deprecated-removed:: 3.3 3.4
482482

483483

484484
.. method:: Request.has_data()
485485

486486
Return whether the instance has a non-\ ``None`` data. Deprecated in 3.3,
487487
use :attr:`Request.data`.
488488

489-
.. deprecated:: 3.3
489+
.. deprecated-removed:: 3.3 3.4
490490

491491

492492
.. method:: Request.get_data()
493493

494494
Return the instance's data. Deprecated in 3.3, use :attr:`Request.data`.
495495

496-
.. deprecated:: 3.3
496+
.. deprecated-removed:: 3.3 3.4
497497

498498

499499
.. method:: Request.get_type()
500500

501501
Return the type of the URL --- also known as the scheme. Deprecated in 3.3,
502502
use :attr:`Request.type`.
503503

504-
.. deprecated:: 3.3
504+
.. deprecated-removed:: 3.3 3.4
505505

506506

507507
.. method:: Request.get_host()
508508

509509
Return the host to which a connection will be made. Deprecated in 3.3, use
510510
:attr:`Request.host`.
511511

512-
.. deprecated:: 3.3
512+
.. deprecated-removed:: 3.3 3.4
513513

514514

515515
.. method:: Request.get_selector()
516516

517517
Return the selector --- the part of the URL that is sent to the server.
518518
Deprecated in 3.3, use :attr:`Request.selector`.
519519

520-
.. deprecated:: 3.3
520+
.. deprecated-removed:: 3.3 3.4
521521

522522
.. method:: Request.get_header(header_name, default=None)
523523

@@ -538,7 +538,7 @@ request.
538538
:rfc:`2965`. See the documentation for the :class:`Request` constructor.
539539
Deprecated in 3.3, use :attr:`Request.origin_req_host`.
540540

541-
.. deprecated:: 3.3
541+
.. deprecated-removed:: 3.3 3.4
542542

543543

544544
.. method:: Request.is_unverifiable()
@@ -547,7 +547,7 @@ request.
547547
documentation for the :class:`Request` constructor. Deprecated in 3.3, use
548548
:attr:`Request.unverifiable`.
549549

550-
.. deprecated:: 3.3
550+
.. deprecated-removed:: 3.3 3.4
551551

552552

553553
.. _opener-director-objects:

0 commit comments

Comments
 (0)