fake-bpy-module 20240803__py3-none-any.whl → 20240805__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (76) hide show
  1. _bpy_internal/extensions/__init__.pyi +1 -0
  2. _bpy_internal/extensions/stale_file_manager/__init__.pyi +39 -0
  3. _bpy_internal/extensions/wheel_manager/__init__.pyi +3 -1
  4. addon_utils/__init__.pyi +2 -0
  5. aud/__init__.pyi +77 -77
  6. bmesh/ops/__init__.pyi +54 -36
  7. bmesh/types/__init__.pyi +24 -24
  8. bpy/ops/action/__init__.pyi +55 -32
  9. bpy/ops/anim/__init__.pyi +22 -22
  10. bpy/ops/armature/__init__.pyi +47 -20
  11. bpy/ops/asset/__init__.pyi +5 -2
  12. bpy/ops/boid/__init__.pyi +12 -2
  13. bpy/ops/brush/__init__.pyi +18 -12
  14. bpy/ops/buttons/__init__.pyi +10 -4
  15. bpy/ops/cachefile/__init__.pyi +12 -6
  16. bpy/ops/clip/__init__.pyi +54 -38
  17. bpy/ops/console/__init__.pyi +17 -6
  18. bpy/ops/constraint/__init__.pyi +28 -28
  19. bpy/ops/curve/__init__.pyi +72 -34
  20. bpy/ops/curves/__init__.pyi +16 -16
  21. bpy/ops/dpaint/__init__.pyi +4 -4
  22. bpy/ops/ed/__init__.pyi +5 -2
  23. bpy/ops/export_anim/__init__.pyi +3 -2
  24. bpy/ops/export_scene/__init__.pyi +55 -45
  25. bpy/ops/file/__init__.pyi +40 -16
  26. bpy/ops/font/__init__.pyi +59 -16
  27. bpy/ops/geometry/__init__.pyi +55 -20
  28. bpy/ops/gpencil/__init__.pyi +155 -122
  29. bpy/ops/graph/__init__.pyi +131 -52
  30. bpy/ops/grease_pencil/__init__.pyi +78 -58
  31. bpy/ops/image/__init__.pyi +77 -54
  32. bpy/ops/import_anim/__init__.pyi +11 -8
  33. bpy/ops/import_scene/__init__.pyi +20 -18
  34. bpy/ops/info/__init__.pyi +4 -4
  35. bpy/ops/lattice/__init__.pyi +8 -8
  36. bpy/ops/marker/__init__.pyi +6 -6
  37. bpy/ops/mask/__init__.pyi +13 -12
  38. bpy/ops/mball/__init__.pyi +6 -6
  39. bpy/ops/mesh/__init__.pyi +290 -150
  40. bpy/ops/nla/__init__.pyi +28 -20
  41. bpy/ops/node/__init__.pyi +43 -32
  42. bpy/ops/object/__init__.pyi +651 -210
  43. bpy/ops/outliner/__init__.pyi +113 -32
  44. bpy/ops/paint/__init__.pyi +65 -56
  45. bpy/ops/palette/__init__.pyi +4 -4
  46. bpy/ops/particle/__init__.pyi +14 -14
  47. bpy/ops/pose/__init__.pyi +121 -44
  48. bpy/ops/preferences/__init__.pyi +9 -6
  49. bpy/ops/render/__init__.pyi +3 -2
  50. bpy/ops/rigidbody/__init__.pyi +45 -14
  51. bpy/ops/scene/__init__.pyi +69 -22
  52. bpy/ops/screen/__init__.pyi +78 -16
  53. bpy/ops/sculpt/__init__.pyi +131 -74
  54. bpy/ops/sculpt_curves/__init__.pyi +2 -2
  55. bpy/ops/sequencer/__init__.pyi +156 -60
  56. bpy/ops/sound/__init__.pyi +40 -16
  57. bpy/ops/surface/__init__.pyi +12 -12
  58. bpy/ops/text/__init__.pyi +65 -20
  59. bpy/ops/texture/__init__.pyi +2 -2
  60. bpy/ops/transform/__init__.pyi +344 -72
  61. bpy/ops/ui/__init__.pyi +9 -6
  62. bpy/ops/uilist/__init__.pyi +2 -2
  63. bpy/ops/uv/__init__.pyi +90 -66
  64. bpy/ops/view3d/__init__.pyi +36 -30
  65. bpy/ops/wm/__init__.pyi +443 -156
  66. bpy/types/__init__.pyi +28584 -2857
  67. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240805.dist-info}/METADATA +1 -1
  68. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240805.dist-info}/RECORD +76 -75
  69. freestyle/chainingiterators/__init__.pyi +4 -4
  70. freestyle/types/__init__.pyi +76 -63
  71. idprop/types/__init__.pyi +2 -2
  72. imbuf/types/__init__.pyi +2 -2
  73. mathutils/__init__.pyi +1004 -970
  74. mathutils/bvhtree/__init__.pyi +2 -2
  75. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240805.dist-info}/WHEEL +0 -0
  76. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240805.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
  from . import junction_module
5
+ from . import stale_file_manager
5
6
  from . import wheel_manager
6
7
 
7
8
  GenericType1 = typing.TypeVar("GenericType1")
@@ -0,0 +1,39 @@
1
+ import typing
2
+ import collections.abc
3
+ import typing_extensions
4
+
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
7
+
8
+ class StaleFiles:
9
+ def filepath_add(self, path_abs, *, rename):
10
+ """
11
+
12
+ :param path_abs:
13
+ :param rename:
14
+ """
15
+ ...
16
+
17
+ def is_empty(self): ...
18
+ def is_modified(self): ...
19
+ def state_load(self, *, check_exists):
20
+ """
21
+
22
+ :param check_exists:
23
+ """
24
+ ...
25
+
26
+ def state_load_add_and_store(self, *, paths):
27
+ """
28
+
29
+ :param paths:
30
+ """
31
+ ...
32
+
33
+ def state_remove_all(self): ...
34
+ def state_store(self, *, check_exists):
35
+ """
36
+
37
+ :param check_exists:
38
+ """
39
+ ...
@@ -5,7 +5,9 @@ import typing_extensions
5
5
  GenericType1 = typing.TypeVar("GenericType1")
6
6
  GenericType2 = typing.TypeVar("GenericType2")
7
7
 
8
- def apply_action(*, local_dir, local_dir_site_packages, wheel_list): ...
8
+ def apply_action(
9
+ *, local_dir, local_dir_site_packages, wheel_list, remove_error_fn, debug
10
+ ): ...
9
11
  def wheel_list_deduplicate_as_skip_set(wheel_list):
10
12
  """Return all wheel paths to skip."""
11
13
 
addon_utils/__init__.pyi CHANGED
@@ -71,3 +71,5 @@ def reset_all(*, reload_scripts=False):
71
71
  """Sets the addon state based on the user preferences."""
72
72
 
73
73
  ...
74
+
75
+ def stale_pending_stage_paths(path_base, paths): ...
aud/__init__.pyi CHANGED
@@ -157,25 +157,25 @@ class DynamicMusic:
157
157
  class HRTF:
158
158
  """An HRTF object represents a set of head related transfer functions as impulse responses. It's used for binaural sound"""
159
159
 
160
- def loadLeftHrtfSet(self, extension: str, directory) -> typing.Self:
160
+ def loadLeftHrtfSet(self, extension: str, directory) -> typing_extensions.Self:
161
161
  """Loads all HRTFs from a directory.
162
162
 
163
163
  :param extension: The file extension of the hrtfs.
164
164
  :type extension: str
165
165
  :param directory: The path to where the HRTF files are located.
166
166
  :return: The loaded `HRTF` object.
167
- :rtype: typing.Self
167
+ :rtype: typing_extensions.Self
168
168
  """
169
169
  ...
170
170
 
171
- def loadRightHrtfSet(self, extension: str, directory) -> typing.Self:
171
+ def loadRightHrtfSet(self, extension: str, directory) -> typing_extensions.Self:
172
172
  """Loads all HRTFs from a directory.
173
173
 
174
174
  :param extension: The file extension of the hrtfs.
175
175
  :type extension: str
176
176
  :param directory: The path to where the HRTF files are located.
177
177
  :return: The loaded `HRTF` object.
178
- :rtype: typing.Self
178
+ :rtype: typing_extensions.Self
179
179
  """
180
180
  ...
181
181
 
@@ -466,39 +466,39 @@ class Sound:
466
466
  """ The sample specification of the sound as a tuple with rate and channel count."""
467
467
 
468
468
  @classmethod
469
- def buffer(cls, data, rate: float) -> typing.Self:
469
+ def buffer(cls, data, rate: float) -> typing_extensions.Self:
470
470
  """Creates a sound from a data buffer.
471
471
 
472
472
  :param data: The data as two dimensional numpy array.
473
473
  :param rate: The sample rate.
474
474
  :type rate: float
475
475
  :return: The created `Sound` object.
476
- :rtype: typing.Self
476
+ :rtype: typing_extensions.Self
477
477
  """
478
478
  ...
479
479
 
480
480
  @classmethod
481
- def file(cls, filename: str) -> typing.Self:
481
+ def file(cls, filename: str) -> typing_extensions.Self:
482
482
  """Creates a sound object of a sound file.
483
483
 
484
484
  :param filename: Path of the file.
485
485
  :type filename: str
486
486
  :return: The created `Sound` object.
487
- :rtype: typing.Self
487
+ :rtype: typing_extensions.Self
488
488
  """
489
489
  ...
490
490
 
491
491
  @classmethod
492
- def list(cls) -> typing.Self:
492
+ def list(cls) -> typing_extensions.Self:
493
493
  """Creates an empty sound list that can contain several sounds.
494
494
 
495
495
  :return: The created `Sound` object.
496
- :rtype: typing.Self
496
+ :rtype: typing_extensions.Self
497
497
  """
498
498
  ...
499
499
 
500
500
  @classmethod
501
- def sawtooth(cls, frequency: float, rate: int = 48000) -> typing.Self:
501
+ def sawtooth(cls, frequency: float, rate: int = 48000) -> typing_extensions.Self:
502
502
  """Creates a sawtooth sound which plays a sawtooth wave.
503
503
 
504
504
  :param frequency: The frequency of the sawtooth wave in Hz.
@@ -507,24 +507,24 @@ class Sound:
507
507
  value to the playback device's samling rate to avoid resamping.
508
508
  :type rate: int
509
509
  :return: The created `Sound` object.
510
- :rtype: typing.Self
510
+ :rtype: typing_extensions.Self
511
511
  """
512
512
  ...
513
513
 
514
514
  @classmethod
515
- def silence(cls, rate: int = 48000) -> typing.Self:
515
+ def silence(cls, rate: int = 48000) -> typing_extensions.Self:
516
516
  """Creates a silence sound which plays simple silence.
517
517
 
518
518
  :param rate: The sampling rate in Hz. It's recommended to set this
519
519
  value to the playback device's samling rate to avoid resamping.
520
520
  :type rate: int
521
521
  :return: The created `Sound` object.
522
- :rtype: typing.Self
522
+ :rtype: typing_extensions.Self
523
523
  """
524
524
  ...
525
525
 
526
526
  @classmethod
527
- def sine(cls, frequency: float, rate: int = 48000) -> typing.Self:
527
+ def sine(cls, frequency: float, rate: int = 48000) -> typing_extensions.Self:
528
528
  """Creates a sine sound which plays a sine wave.
529
529
 
530
530
  :param frequency: The frequency of the sine wave in Hz.
@@ -533,12 +533,12 @@ class Sound:
533
533
  value to the playback device's samling rate to avoid resamping.
534
534
  :type rate: int
535
535
  :return: The created `Sound` object.
536
- :rtype: typing.Self
536
+ :rtype: typing_extensions.Self
537
537
  """
538
538
  ...
539
539
 
540
540
  @classmethod
541
- def square(cls, frequency: float, rate: int = 48000) -> typing.Self:
541
+ def square(cls, frequency: float, rate: int = 48000) -> typing_extensions.Self:
542
542
  """Creates a square sound which plays a square wave.
543
543
 
544
544
  :param frequency: The frequency of the square wave in Hz.
@@ -547,12 +547,12 @@ class Sound:
547
547
  value to the playback device's samling rate to avoid resamping.
548
548
  :type rate: int
549
549
  :return: The created `Sound` object.
550
- :rtype: typing.Self
550
+ :rtype: typing_extensions.Self
551
551
  """
552
552
  ...
553
553
 
554
554
  @classmethod
555
- def triangle(cls, frequency: float, rate: int = 48000) -> typing.Self:
555
+ def triangle(cls, frequency: float, rate: int = 48000) -> typing_extensions.Self:
556
556
  """Creates a triangle sound which plays a triangle wave.
557
557
 
558
558
  :param frequency: The frequency of the triangle wave in Hz.
@@ -561,13 +561,13 @@ class Sound:
561
561
  value to the playback device's samling rate to avoid resamping.
562
562
  :type rate: int
563
563
  :return: The created `Sound` object.
564
- :rtype: typing.Self
564
+ :rtype: typing_extensions.Self
565
565
  """
566
566
  ...
567
567
 
568
568
  def ADSR(
569
569
  self, attack: float, decay: float, sustain: float, release: float
570
- ) -> typing.Self:
570
+ ) -> typing_extensions.Self:
571
571
  """Attack-Decay-Sustain-Release envelopes the volume of a sound.
572
572
  Note: there is currently no way to trigger the release with this API.
573
573
 
@@ -580,11 +580,11 @@ class Sound:
580
580
  :param release: The release level.
581
581
  :type release: float
582
582
  :return: The created `Sound` object.
583
- :rtype: typing.Self
583
+ :rtype: typing_extensions.Self
584
584
  """
585
585
  ...
586
586
 
587
- def accumulate(self, additive=False) -> typing.Self:
587
+ def accumulate(self, additive=False) -> typing_extensions.Self:
588
588
  """Accumulates a sound by summing over positive input
589
589
  differences thus generating a monotonic sigal.
590
590
  If additivity is set to true negative input differences get added too,
@@ -592,41 +592,41 @@ class Sound:
592
592
 
593
593
  :param additive: Whether the accumulation should be additive or not.
594
594
  :return: The created `Sound` object.
595
- :rtype: typing.Self
595
+ :rtype: typing_extensions.Self
596
596
  """
597
597
  ...
598
598
 
599
- def addSound(self, sound: typing.Self):
599
+ def addSound(self, sound: typing_extensions.Self):
600
600
  """Adds a new sound to a sound list.
601
601
 
602
602
  :param sound: The sound that will be added to the list.
603
- :type sound: typing.Self
603
+ :type sound: typing_extensions.Self
604
604
  """
605
605
  ...
606
606
 
607
- def binaural(self) -> typing.Self:
607
+ def binaural(self) -> typing_extensions.Self:
608
608
  """Creates a binaural sound using another sound as source. The original sound must be mono
609
609
 
610
610
  :return: The created `Sound` object.
611
- :rtype: typing.Self
611
+ :rtype: typing_extensions.Self
612
612
  """
613
613
  ...
614
614
 
615
- def cache(self) -> typing.Self:
615
+ def cache(self) -> typing_extensions.Self:
616
616
  """Caches a sound into RAM.This saves CPU usage needed for decoding and file access if the
617
617
  underlying sound reads from a file on the harddisk,
618
618
  but it consumes a lot of memory.
619
619
 
620
620
  :return: The created `Sound` object.
621
- :rtype: typing.Self
621
+ :rtype: typing_extensions.Self
622
622
  """
623
623
  ...
624
624
 
625
- def convolver(self) -> typing.Self:
625
+ def convolver(self) -> typing_extensions.Self:
626
626
  """Creates a sound that will apply convolution to another sound.
627
627
 
628
628
  :return: The created `Sound` object.
629
- :rtype: typing.Self
629
+ :rtype: typing_extensions.Self
630
630
  """
631
631
  ...
632
632
 
@@ -637,19 +637,19 @@ class Sound:
637
637
  """
638
638
  ...
639
639
 
640
- def delay(self, time: float) -> typing.Self:
640
+ def delay(self, time: float) -> typing_extensions.Self:
641
641
  """Delays by playing adding silence in front of the other sound's data.
642
642
 
643
643
  :param time: How many seconds of silence should be added before the sound.
644
644
  :type time: float
645
645
  :return: The created `Sound` object.
646
- :rtype: typing.Self
646
+ :rtype: typing_extensions.Self
647
647
  """
648
648
  ...
649
649
 
650
650
  def envelope(
651
651
  self, attack: float, release: float, threshold: float, arthreshold: float
652
- ) -> typing.Self:
652
+ ) -> typing_extensions.Self:
653
653
  """Delays by playing adding silence in front of the other sound's data.
654
654
 
655
655
  :param attack: The attack factor.
@@ -661,11 +661,11 @@ class Sound:
661
661
  :param arthreshold: The attack/release threshold value.
662
662
  :type arthreshold: float
663
663
  :return: The created `Sound` object.
664
- :rtype: typing.Self
664
+ :rtype: typing_extensions.Self
665
665
  """
666
666
  ...
667
667
 
668
- def fadein(self, start: float, length: float) -> typing.Self:
668
+ def fadein(self, start: float, length: float) -> typing_extensions.Self:
669
669
  """Fades a sound in by raising the volume linearly in the given
670
670
  time interval.
671
671
 
@@ -674,11 +674,11 @@ class Sound:
674
674
  :param length: Time in seconds how long the fading should last.
675
675
  :type length: float
676
676
  :return: The created `Sound` object.
677
- :rtype: typing.Self
677
+ :rtype: typing_extensions.Self
678
678
  """
679
679
  ...
680
680
 
681
- def fadeout(self, start: float, length: float) -> typing.Self:
681
+ def fadeout(self, start: float, length: float) -> typing_extensions.Self:
682
682
  """Fades a sound in by lowering the volume linearly in the given
683
683
  time interval.
684
684
 
@@ -687,11 +687,11 @@ class Sound:
687
687
  :param length: Time in seconds how long the fading should last.
688
688
  :type length: float
689
689
  :return: The created `Sound` object.
690
- :rtype: typing.Self
690
+ :rtype: typing_extensions.Self
691
691
  """
692
692
  ...
693
693
 
694
- def filter(self, b: list[float], a: list[float] = 1) -> typing.Self:
694
+ def filter(self, b: list[float], a: list[float] = 1) -> typing_extensions.Self:
695
695
  """Filters a sound with the supplied IIR filter coefficients.
696
696
  Without the second parameter you'll get a FIR filter.If the first value of the a sequence is 0,
697
697
  it will be set to 1 automatically.
@@ -704,11 +704,11 @@ class Sound:
704
704
  :param a: The denominator filter coefficients.
705
705
  :type a: list[float]
706
706
  :return: The created `Sound` object.
707
- :rtype: typing.Self
707
+ :rtype: typing_extensions.Self
708
708
  """
709
709
  ...
710
710
 
711
- def highpass(self, frequency: float, Q: float = 0.5) -> typing.Self:
711
+ def highpass(self, frequency: float, Q: float = 0.5) -> typing_extensions.Self:
712
712
  """Creates a second order highpass filter based on the transfer
713
713
  function H(s) = s^2 / (s^2 + s/Q + 1)
714
714
 
@@ -717,21 +717,21 @@ class Sound:
717
717
  :param Q: Q factor of the lowpass.
718
718
  :type Q: float
719
719
  :return: The created `Sound` object.
720
- :rtype: typing.Self
720
+ :rtype: typing_extensions.Self
721
721
  """
722
722
  ...
723
723
 
724
- def join(self, sound: typing.Self) -> typing.Self:
724
+ def join(self, sound: typing_extensions.Self) -> typing_extensions.Self:
725
725
  """Plays two factories in sequence.
726
726
 
727
727
  :param sound: The sound to play second.
728
- :type sound: typing.Self
728
+ :type sound: typing_extensions.Self
729
729
  :return: The created `Sound` object.
730
- :rtype: typing.Self
730
+ :rtype: typing_extensions.Self
731
731
  """
732
732
  ...
733
733
 
734
- def limit(self, start: float, end: float) -> typing.Self:
734
+ def limit(self, start: float, end: float) -> typing_extensions.Self:
735
735
  """Limits a sound within a specific start and end time.
736
736
 
737
737
  :param start: Start time in seconds.
@@ -739,22 +739,22 @@ class Sound:
739
739
  :param end: End time in seconds.
740
740
  :type end: float
741
741
  :return: The created `Sound` object.
742
- :rtype: typing.Self
742
+ :rtype: typing_extensions.Self
743
743
  """
744
744
  ...
745
745
 
746
- def loop(self, count: int) -> typing.Self:
746
+ def loop(self, count: int) -> typing_extensions.Self:
747
747
  """Loops a sound.
748
748
 
749
749
  :param count: How often the sound should be looped.
750
750
  Negative values mean endlessly.
751
751
  :type count: int
752
752
  :return: The created `Sound` object.
753
- :rtype: typing.Self
753
+ :rtype: typing_extensions.Self
754
754
  """
755
755
  ...
756
756
 
757
- def lowpass(self, frequency: float, Q: float = 0.5) -> typing.Self:
757
+ def lowpass(self, frequency: float, Q: float = 0.5) -> typing_extensions.Self:
758
758
  """Creates a second order lowpass filter based on the transfer function H(s) = 1 / (s^2 + s/Q + 1)
759
759
 
760
760
  :param frequency: The cut off trequency of the lowpass.
@@ -762,69 +762,69 @@ class Sound:
762
762
  :param Q: Q factor of the lowpass.
763
763
  :type Q: float
764
764
  :return: The created `Sound` object.
765
- :rtype: typing.Self
765
+ :rtype: typing_extensions.Self
766
766
  """
767
767
  ...
768
768
 
769
- def mix(self, sound: typing.Self) -> typing.Self:
769
+ def mix(self, sound: typing_extensions.Self) -> typing_extensions.Self:
770
770
  """Mixes two factories.
771
771
 
772
772
  :param sound: The sound to mix over the other.
773
- :type sound: typing.Self
773
+ :type sound: typing_extensions.Self
774
774
  :return: The created `Sound` object.
775
- :rtype: typing.Self
775
+ :rtype: typing_extensions.Self
776
776
  """
777
777
  ...
778
778
 
779
- def modulate(self, sound: typing.Self) -> typing.Self:
779
+ def modulate(self, sound: typing_extensions.Self) -> typing_extensions.Self:
780
780
  """Modulates two factories.
781
781
 
782
782
  :param sound: The sound to modulate over the other.
783
- :type sound: typing.Self
783
+ :type sound: typing_extensions.Self
784
784
  :return: The created `Sound` object.
785
- :rtype: typing.Self
785
+ :rtype: typing_extensions.Self
786
786
  """
787
787
  ...
788
788
 
789
- def mutable(self) -> typing.Self:
789
+ def mutable(self) -> typing_extensions.Self:
790
790
  """Creates a sound that will be restarted when sought backwards.
791
791
  If the original sound is a sound list, the playing sound can change.
792
792
 
793
793
  :return: The created `Sound` object.
794
- :rtype: typing.Self
794
+ :rtype: typing_extensions.Self
795
795
  """
796
796
  ...
797
797
 
798
- def pingpong(self) -> typing.Self:
798
+ def pingpong(self) -> typing_extensions.Self:
799
799
  """Plays a sound forward and then backward.
800
800
  This is like joining a sound with its reverse.
801
801
 
802
802
  :return: The created `Sound` object.
803
- :rtype: typing.Self
803
+ :rtype: typing_extensions.Self
804
804
  """
805
805
  ...
806
806
 
807
- def pitch(self, factor: float) -> typing.Self:
807
+ def pitch(self, factor: float) -> typing_extensions.Self:
808
808
  """Changes the pitch of a sound with a specific factor.
809
809
 
810
810
  :param factor: The factor to change the pitch with.
811
811
  :type factor: float
812
812
  :return: The created `Sound` object.
813
- :rtype: typing.Self
813
+ :rtype: typing_extensions.Self
814
814
  """
815
815
  ...
816
816
 
817
- def rechannel(self, channels: int) -> typing.Self:
817
+ def rechannel(self, channels: int) -> typing_extensions.Self:
818
818
  """Rechannels the sound.
819
819
 
820
820
  :param channels: The new channel configuration.
821
821
  :type channels: int
822
822
  :return: The created `Sound` object.
823
- :rtype: typing.Self
823
+ :rtype: typing_extensions.Self
824
824
  """
825
825
  ...
826
826
 
827
- def resample(self, rate: float, quality: int) -> typing.Self:
827
+ def resample(self, rate: float, quality: int) -> typing_extensions.Self:
828
828
  """Resamples the sound.
829
829
 
830
830
  :param rate: The new sample rate.
@@ -832,27 +832,27 @@ class Sound:
832
832
  :param quality: Resampler performance vs quality choice (0=fastest, 3=slowest).
833
833
  :type quality: int
834
834
  :return: The created `Sound` object.
835
- :rtype: typing.Self
835
+ :rtype: typing_extensions.Self
836
836
  """
837
837
  ...
838
838
 
839
- def reverse(self) -> typing.Self:
839
+ def reverse(self) -> typing_extensions.Self:
840
840
  """Plays a sound reversed.
841
841
 
842
842
  :return: The created `Sound` object.
843
- :rtype: typing.Self
843
+ :rtype: typing_extensions.Self
844
844
  """
845
845
  ...
846
846
 
847
- def sum(self) -> typing.Self:
847
+ def sum(self) -> typing_extensions.Self:
848
848
  """Sums the samples of a sound.
849
849
 
850
850
  :return: The created `Sound` object.
851
- :rtype: typing.Self
851
+ :rtype: typing_extensions.Self
852
852
  """
853
853
  ...
854
854
 
855
- def threshold(self, threshold: float = 0) -> typing.Self:
855
+ def threshold(self, threshold: float = 0) -> typing_extensions.Self:
856
856
  """Makes a threshold wave out of an audio wave by setting all samples
857
857
  with a amplitude >= threshold to 1, all <= -threshold to -1 and
858
858
  all between to 0.
@@ -861,17 +861,17 @@ class Sound:
861
861
  non-zero.
862
862
  :type threshold: float
863
863
  :return: The created `Sound` object.
864
- :rtype: typing.Self
864
+ :rtype: typing_extensions.Self
865
865
  """
866
866
  ...
867
867
 
868
- def volume(self, volume: float) -> typing.Self:
868
+ def volume(self, volume: float) -> typing_extensions.Self:
869
869
  """Changes the volume of a sound.
870
870
 
871
871
  :param volume: The new volume..
872
872
  :type volume: float
873
873
  :return: The created `Sound` object.
874
- :rtype: typing.Self
874
+ :rtype: typing_extensions.Self
875
875
  """
876
876
  ...
877
877